-
-
Notifications
You must be signed in to change notification settings - Fork 167
Command-line tool to help debug NumpyDocString #146
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
Conversation
Useful! |
It's like pydoc command-line tool but mangled...
…On 15 November 2017 at 19:02, Stefan van der Walt ***@***.***> wrote:
Useful!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#146 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAEz6ztUn-hPEd5kWQrHK2A05w-3saWbks5s2pqMgaJpZM4Qegut>
.
|
might make more sense as numpydoc.__main__
|
Works nicely! |
Nice! PY2 is still unhappy. |
There's a problem here with submodules that are not imported by default into the main namespace. E.g.
works, but
gives |
numpydoc/__main__.py
Outdated
|
||
parts = args.import_path.split('.') | ||
|
||
for split_point in range(len(parts), 0, -1)[::-1]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course. This does the reversal twice. Silly me.
Merging shouldn't hurt; we can iterate later if necessary. |
This command line tool is brilliant, saved me lots of time by avoiding to build the full docs. Thank you. |
No description provided.