I’ve been looking at the following code and have a question about what it means. The package overall has the classes: Segment, Cell, Column, Region, and SegmentUpdateInfo.
The code in question is the last line. Thanks in advance!
class SegmentUpdateInfo(object):
def __init__(self, cell, segment, activeSynapses, addNewSynapses=False):
#Constructor parameter initialization...
region = self.cell.column.region #What does this mean and why would someone use
#it?
The most likely reason someone would do that is so that they can refer to that variable within
__init__()without typingself.cell.column.regionevery single time. Is there anywhere else in the__init__()method thatregionis used?