"Patrick K. O'Brien" <pobrien@orbtech.com> writes: > But it does look sloppy when you are writing about introspection and > you see an attribute that has no real value. I wish it weren't > there, as I'd rather not have to explain it. But it got me thinking > whether other modules in the standard library have this issue, and > whether this is something that should be cleaned up. Thoughts? Normally, this is fixed with __all__: The module may have arbitrary variables; the interface is only those identifiers mentioned in __all__ (in absence of __all__, its only those identifiers which are documented). So I don't think this is an issue, in general. In a specific case, there is nothing wrong with fixing it. Regards, Martin
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