failing to instantiate an inner class because of its order

Pyenos pyenos at pyenos.org
Wed Dec 27 18:15:27 EST 2006


class Model:
        Controller()

class View:
        Model()

class Controller:pass


Python interpreter complains that 'Name Error: Controller()' not defined.
        



More information about the Python-list mailing list