Skip to content
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

Importing * from pdfrw and pdfrw.objects doesn't work #35

Closed
Unrud opened this issue Sep 6, 2015 · 2 comments
Closed

Importing * from pdfrw and pdfrw.objects doesn't work #35

Unrud opened this issue Sep 6, 2015 · 2 comments

Comments

@Unrud
Copy link

Unrud commented Sep 6, 2015

The __all__ list in __init__.py must contain strings with the names of modules not the modules itself.

https://docs.python.org/2/tutorial/modules.html#importing-from-a-package

@pmaupin
Copy link
Owner

pmaupin commented Sep 6, 2015

I think you mean names of functions, but yeah...

@pmaupin
Copy link
Owner

pmaupin commented Sep 6, 2015

Fix checked in. It's interesting that nobody noticed that brain-fart before -- maybe most people start with one of the examples.

Thanks!

@pmaupin pmaupin closed this as completed Sep 6, 2015
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

No branches or pull requests

2 participants