Question regarding re module

Paul McGuire ptmcg at austin.rr.com
Thu Jun 5 08:52:34 EDT 2008


On Jun 5, 7:11 am, Tomohiro Kusumi <kusumi.tomoh... at jp.fujitsu.com>
wrote:
>
> > It could be that the result overloads the __getattr__-method to delegate
> > calls to some object. Thus it's not part of the outer instance.
>

Didn't I read that Py3 will support a __dir__ method so that classes
*could* report such pseudo-attributes in response to dir?

-- Paul



More information about the Python-list mailing list