I find this syntax astoundingly annoying. Every time I rename my class, I have to change this call for no apparent reason. Isn’t there some __class__ magic variable or something I can use at least? Interested in answers for Python 2.5, but it doesn’t hurt to know if later versions fixed this.
I find this syntax astoundingly annoying. Every time I rename my class, I have
Share
If your class only inherits from one class it is safe to do just this:
But I could be mistaken.