[Python-Dev] pydoc for named tuples is missing methods

Éric Araujo merwok at netwok.org
Mon Mar 14 11:43:30 CET 2011


> No, probably we should add some sort of __yes_i_am_public__ override
> attribute that pydoc looks for. It's such a pity that those methods
> have to have underscores...

My opinion is that pydoc should use __dir__ (namedtuple does not
currently use it but could).

Regards


More information about the Python-Dev mailing list