MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / isrecursive

Function isrecursive

tools/python-3.11.9-amd64/Lib/pprint.py:76–78  ·  view source on GitHub ↗

Determine if object requires a recursive representation.

(object)

Source from the content-addressed store, hash-verified

74 return PrettyPrinter()._safe_repr(object, {}, None, 0)[1]
75
76def isrecursive(object):
77 """Determine if object requires a recursive representation."""
78 return PrettyPrinter()._safe_repr(object, {}, None, 0)[2]
79
80class _safe_key:
81 """Helper function for key functions when sorting unorderable objects.

Callers

nothing calls this directly

Calls 2

PrettyPrinterClass · 0.85
_safe_reprMethod · 0.45

Tested by

no test coverage detected