Python stdlib module — pydoc. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.apropos()Neutralapropos(key)
Print all the one-line module summaries that contain a substring.
.browse()Neutralbrowse(port, open_browser, hostname)
Start the enhanced pydoc web server and open a web browser.
.classify_class_attrs()Neutralclassify_class_attrs(object)
Wrap inspect.classify_class_attrs, with fixup for data descriptors and bound methods.
.classname()Neutralclassname(object, modname)
Get a class name and qualify it with a module name if necessary.
.cram()Neutralcram(text, maxlen)
Omit part of a string if needed to make it fit in a maximum length.
.doc()Neutraldoc(thing, title, forceload, output, is_cli)
Display text documentation, given an object or a path to an object.
.format_exception_only()Neutralformat_exception_only(exc, value)
Format the exception part of a traceback.
| FQN | Field | |
|---|---|---|
| pydoc | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
import pydoc