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

find a better way to get module descriptions #9

Open
BurntSushi opened this issue May 10, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@BurntSushi
Copy link
Contributor

commented May 10, 2014

As pointed out in #7, importlib.abc.InspectLoader should be used to load the source code to get a module description from a module loader. But this appears to only be available in Python 3, so its implementation should fail gracefully in Python 2. (i.e., Return an empty string.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.