On this page
pydoc.help
Up: pydoc
Rel: pydoc
Ref: docs.python.org — pydoc.help
Tags: #public #python3 #stdlib #pydoc
Import
import pydoc
from pydoc import help
Signature & Overview
pydoc.help(request=<object object at 0x1040b5880>)
pydoc.help() function.
Usage
import pydoc
# Powers built-in help(); use pydoc.render_doc("math", renderer=pydoc.plaintext) for non-interactive text
assert callable(pydoc.help)
Gotchas
- Imports the inspected module: Don't run
pydocon untrusted scripts.
REPL Inspect
from pydoc import help
help(help)
Linked from
Related notes
- tuts/python3/stdlib_module/pydoc Linked here; links to this page; shared tags: #stdlib
- tuts/c/stdlib shared tags: #stdlib
- tuts/c/stdlib/assert shared tags: #stdlib
- tuts/c/stdlib/assert/assert shared tags: #stdlib
- tuts/c/stdlib/assert/static_assert shared tags: #stdlib
- tuts/c/stdlib/ctype shared tags: #stdlib
- tuts/c/stdlib/ctype/isalpha shared tags: #stdlib
- tuts/c/stdlib/ctype/isdigit shared tags: #stdlib
- tuts/c/stdlib/ctype/isspace shared tags: #stdlib
- tuts/c/stdlib/ctype/tolower shared tags: #stdlib