MCPcopy Index your code
hub / github.com/python/cpython / isrecursive

Function isrecursive

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

Determine if object requires a recursive representation.

(object)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

PrettyPrinterClass · 0.85
_safe_reprMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…