google-code-export / thebigpicture

Automatically exported from code.google.com/p/thebigpicture
1 stars 1 forks source link

Package should export Jpeg and Tiff classes directly #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, the Jpeg and Tiff classes can be accessed by
thebigpicture.jpeg.Jpeg and thebigpicure.tiff.Tiff. These classes need to
be called directly.

Original issue reported on code.google.com by p.edel...@gmail.com on 1 Apr 2007 at 7:35

GoogleCodeExporter commented 9 years ago
Actually, "module" should read "package".

Original comment by p.edel...@gmail.com on 1 Apr 2007 at 7:45

GoogleCodeExporter commented 9 years ago
This is done by setting shortcuts in the __init__.py file.
Additionally, the __all__ parameter is set, so a package can now do "from
thebigpicture import *"

Original comment by p.edel...@gmail.com on 1 Apr 2007 at 7:49