Python stdlib module — pprint. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.isreadable()Neutralisreadable(object)
Determine if saferepr(object) is readable by eval().
.isrecursive()Neutralisrecursive(object)
Determine if object requires a recursive representation.
.pformat()Neutralpformat(object, indent, width, depth, compact, sort_dicts, underscore_numbers)
Format a Python object into a pretty-printed representation.
.pprint()Neutralpprint(object, stream, indent, width, depth, compact, sort_dicts, underscore_numbers)
Pretty-print a Python object to a stream [default is sys.stdout].
.saferepr()Neutralsaferepr(object)
Version of repr() which can handle recursive data structures.
| FQN | Field | |
|---|---|---|
| pprint | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
import pprint