tobinus / python-podgen

Generating podcasts with Python should be easy!
https://podgen.readthedocs.org
Other
51 stars 10 forks source link

Make non-public modules non-public, expose classes at package level #6

Closed tobinus closed 8 years ago

tobinus commented 8 years ago

Modules should start with underscore, and __init__.py should include __all__ with the appropriate classes.

tobinus commented 8 years ago

First step taken in 5f0b5f5 . Turns out you don't need to use __all__ to make the classes available at package level.

tobinus commented 8 years ago

There's no reason to make the modules non-public, since everyone should just import the top-level package directly. They're not really private either.