diff Python/errors.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 c83acfb1a632
children 3bc3f12cae28
line wrap: on
line diff