What's the difference between using __init__ and using nothing, as the examples below.
<Python-1> class cpu: PC = 4 <Python-2> class cpu: def __init__: self.PC = 4 thanks, Stef Mientki -- http://mail.python.org/mailman/listinfo/python-list
What's the difference between using __init__ and using nothing, as the examples below.
<Python-1> class cpu: PC = 4 <Python-2> class cpu: def __init__: self.PC = 4 thanks, Stef Mientki -- http://mail.python.org/mailman/listinfo/python-list