diff options
author | Guido van Rossum <guido@python.org> | 2001-09-21 21:24:49 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-09-21 21:24:49 (GMT) |
commit | 19c1cd5b352e503c4585398d2533e5ae3bf4c189 (patch) | |
tree | 4749110a9fdd7d5ac0c249b8d3d860676524d81e /LICENSE | |
parent | 56dd35bd44684d6d03db6fdfb2055898f0ef0b91 (diff) | |
download | cpython-19c1cd5b352e503c4585398d2533e5ae3bf4c189.zip cpython-19c1cd5b352e503c4585398d2533e5ae3bf4c189.tar.gz cpython-19c1cd5b352e503c4585398d2533e5ae3bf4c189.tar.bz2 |
Add the __getattr__ hook back. The rules are now:
- if __getattribute__ exists, it is called first;
if it doesn't exists, PyObject_GenericGetAttr is called first.
- if the above raises AttributeError, and __getattr__ exists,
it is called.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions