This is a very simple decorator and function which populates a module's __all__ and optionally the module globals. It is a standalone version of the implementation being proposed for Python 3.6 in issue 26632 on the Python bug tracker.
This provides both a pure-Python implementation and a C implementation. It is proposed that the C implementation be added to builtins for Python 3.6.
2 years, 2 months ago passed
.. image:: https://readthedocs.org/projects/public/badge/?version=latest :target: https://public.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status
<a href='https://public.readthedocs.io/en/latest/?badge=latest'> <img src='https://readthedocs.org/projects/public/badge/?version=latest' alt='Documentation Status' /> </a>
Project has no tags.
Project Privacy Level