DEV Community

Discussion on: Python: __init__() is not the only constructor

Collapse
 
nestedsoftware profile image
Nested Software

I think Python will look up variables in __class__ if it does not find them associated with the instance. So there should only be one variable bound to the class.