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
help(x) for keywords too #44092
Comments
At the interactive prompt, help(object) is very useful. It would be nice if it also worked on keywords. """
>>> help(object)
Help on class object in module __builtin__: class object vs """
>>> help(with)
SyntaxError: invalid syntax
""" At the moment, the workaround is to open the |
Logged In: YES Doesn't help("if") work for you? |
Logged In: YES No, it doesn't -- but putting the keyword in quotes does at I'm using Windows XP, the 2.4 and 2.5 binaries from The documentation (as a chm file) is found by the F1 key. |
Logged In: YES
No. pydoc cannot use the .chm file. Either you should C:\Python24\Doc>hh -decompile . Python24.chm C:\Python24\Doc>dir *.chm Verzeichnis von C:\Python24\Doc 06.10.2006 21:23 3.732 about.html C:\Python24\Doc> The other HTML files are created in subdirectories, and |
1600491 contains a doc patch, which is basically just adding Tom Heller's advice on *how* to build to the error message. |
Ideally, if help() doesn't find local HTML files, it should be smart enough to look on doc.python.org. People who need help are not usually in a position to build their own help files. |
Pointing to docs.python.org doesn't help if you don't have a current net connection. In this case, the build instructions *are* the single line from Thomas: C:\Python24\Doc>hh -decompile . Python25.chm Since hh comes with windows, the barrier is fairly low. |
This issue should probably be closed. Performing the decompile on the It would make more sense to add an option to the installer that would Your Thoughts? |
1600491 was applied, so I'm closing this. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: