How come you have to set the initialized created variables to equal the
parameters, shouldn't that be default?

class testing:
         def __init__(self,testing):
                   self.testing = testing
x = testing("testing")
print x.testing


How come self.testing = testing

Can someone explain that in more detail, just confused on why you have to
set it up like that.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to