On Mon, Mar 14, 2011 at 6:43 AM, Éric Araujo <merwok at netwok.org> wrote: >> 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). Oh, I forgot about __dir__. However, the problem with that is that dir() and __dir__() are designed to return *everything*, public or private. Cheers, Nick. -- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4