MCPcopy Index your code
hub / github.com/RustPython/RustPython / isrecursive

Function isrecursive

Lib/pprint.py:79–81  ·  view source on GitHub ↗

Determine if object requires a recursive representation.

(object)

Source from the content-addressed store, hash-verified

77
78
79def isrecursive(object):
80 """Determine if object requires a recursive representation."""
81 return PrettyPrinter()._safe_repr(object, {}, None, 0)[2]
82
83
84class _safe_key:

Callers

nothing calls this directly

Calls 2

PrettyPrinterClass · 0.85
_safe_reprMethod · 0.80

Tested by

no test coverage detected