Gerrit wrote: > Isn't this just modifying A.__dict__, where __getattribute__ looks into > to see whether something is defined? Or is that the same thing? Correct. However, to the user, this should be an implementation detail, and is nearly indistinguishable from >>> A.__name__="B" >>> A <class '__main__.B'> Regards, Martin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4