[Neil Schemenauer] > I'm -1 on making dir() pay attention to __all__. Me too. The original __exports__ idea was an ironclad guarantee about which names were externally visible for *any* purpose. Then it made sense to restrict dir() accordingly. But if __all__ is just "a hint" (to be ignored or honored at whim, by whoever chooses), the introspective uses of dir() must be served too. > I'm +1 on adding a help() function which pays attention to > __all__ and (optionally?) prints doc strings. I can't be +1 on anything that vague -- although I'm +1 on each part of it if done in exactly the way I envision <wink>.
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