spacetelescope / style-guides

An opinionated guide on how we work.
Creative Commons Attribution 4.0 International
55 stars 33 forks source link

Add discussion of __all__ to python guide #14

Open stscicrawford opened 6 years ago

stscicrawford commented 6 years ago

This may belong better in the "Package Conventions" section, but it would probably be useful to say a bit about using the from . import trick as a way to internally structure code, since that's an exception to the import rule as long as you're careful about what goes in all.