Mercurial > cpython-lru_cache-weakref
diff Python/import.c @ 41125:717bc2a4eee7 legacy-trunk
Backport from Py3k branch:
Patch #1591665: implement the __dir__() special function lookup in PyObject_Dir.
Had to change a few bits of the patch because classobjs and __methods__ are still
in Py2.6.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Mon, 12 Mar 2007 13:17:36 +0000 |
| parents | d3a35fe13838 |
| children | 45ce388ec59a |
