diff options
author | Guido van Rossum <guido@python.org> | 2001-10-22 02:00:09 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-10-22 02:00:09 (GMT) |
commit | 56ff387a7e625a692851e2e5ffdea096b72831f7 (patch) | |
tree | 6b5d86b12a0d5005ff31fb7ced375262bbbbe597 /Objects/longobject.c | |
parent | 51c18166bb55ff8ed72f447997bcb38574531112 (diff) | |
download | cpython-56ff387a7e625a692851e2e5ffdea096b72831f7.zip cpython-56ff387a7e625a692851e2e5ffdea096b72831f7.tar.gz cpython-56ff387a7e625a692851e2e5ffdea096b72831f7.tar.bz2 |
Fix for SF bug #472940: can't getattr() attribute shown by dir()
There really isn't a good reason for instance method objects to have
their own __dict__, __doc__ and __name__ properties that just delegate
the request to the function (callable); the default attribute behavior
already does this.
The test suite had to be fixed because the error changes from
TypeError to AttributeError.
Diffstat (limited to 'Objects/longobject.c')
0 files changed, 0 insertions, 0 deletions