2

what is the different between

class d():
    d = None
    def __init__(self):
        .....

and:

class d():
   def __init__(self):
       self.d = None
Michael
  • 8,920
  • 3
  • 38
  • 56
DoronS
  • 347
  • 1
  • 6
  • 12
  • Also good answers regarding 1st case http://stackoverflow.com/questions/68645/static-class-variables-in-python – Andrey Mar 06 '13 at 10:24

0 Answers0