Martin Panter added the comment:

Here are two examples where publicly-documented module attributes are 
intentionally omitted from __all__:

* Issue 26234: typing.re and typing.io
* Issue 23439: HTTP status codes like http.client.NOT_FOUND

Despite these, I think @public is a reasonable name. But I may be biased, 
because I personally think everything should be included in __all__. Otherwise 
pydoc does not pick it up.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26632>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to