commit | 867a8d2e2688d837c67bf87eb9164528780f7bdc | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Sep 21 19:29:08 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Sep 21 19:29:08 2001 +0000 |
tree | 17384a0aba0c05752f3d10e2ca18838d1ed815f7 | |
parent | dbb718fa8775731666bb9cbc73662fadee41ea8f [diff] |
Change the name of the __getattr__ special method for new-style classes to __getattribute__, to make it crystal-clear that it doesn't have the same semantics as overriding __getattr__ on classic classes. This is a halfway checkin -- I'll proceed to add a __getattr__ hook that works the way it works in classic classes.