Skip to content

add __all__ to declare public API #208

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 19, 2025
Merged

add __all__ to declare public API #208

merged 2 commits into from
Mar 19, 2025

Conversation

gotmax23
Copy link
Contributor

Before

$ pydoc trove_classifiers
Help on package trove_classifiers:

NAME
    trove_classifiers

PACKAGE CONTENTS
    __main__

DATA
    Dict = typing.Dict
        A generic version of dict.

    List = typing.List
        A generic version of list.

    Set = typing.Set
        A generic version of set.

    __annotations__ = {'all_classifiers': typing.List[str], 'classifiers':...
    all_classifiers = ['Development Status :: 1 - Planning', 'Development ...
    classifiers = {'Development Status :: 1 - Planning', 'Development Stat...
    deprecated_classifiers = {'Framework :: Django CMS :: 4.2': ['Framewor...
    sorted_classifiers = ['Development Status :: 1 - Planning', 'Developme...

After

$ pydoc trove_classifiers
Help on package trove_classifiers:

NAME
    trove_classifiers

PACKAGE CONTENTS
    __main__

DATA
    __all__ = ['all_classifiers', 'deprecated_classifiers', 'sorted_classi...
    __annotations__ = {'all_classifiers': typing.List[str], 'classifiers':...
    all_classifiers = ['Development Status :: 1 - Planning', 'Development ...
    deprecated_classifiers = {'Framework :: Django CMS :: 4.2': ['Framewor...
    sorted_classifiers = ['Development Status :: 1 - Planning', 'Developme...

Co-authored-by: Dustin Ingram <di@users.noreply.github.com>
@di di merged commit 7e3e9e0 into pypa:main Mar 19, 2025
1 check passed
@gotmax23
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants