diff Python/Python-ast.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 0376f13a1af9
children 393822f2ef90
line wrap: on
line diff