def __init__(self, state=Dead()): """ Ctor - Initialises the cell with a state in which it can start the game of life. @param state The initial state of the cell. If no argument is given, defaults to dead. """ Cell.__init__(self, state)
def __init__(self, state=Dead()): ''' Sets the initial state of the cell to dead. Keyword arguments: state -- Initial state of cell. Defaults to Dead ''' Cell.__init__(self, state)