[issue31503] Enhance dir(module) to be informed by __all__ by updating module.__dir__

Nick Coghlan report at bugs.python.org
Mon Sep 18 04:32:39 EDT 2017


Nick Coghlan added the comment:

Yes, that's one of the goals of the feature: to allow module authors to decide if they want tab completion for all attributes, or just the public API.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31503>
_______________________________________


More information about the Python-bugs-list mailing list