MCPcopy
hub / github.com/pytest-dev/pytest / _recursion

Function _recursion

src/_pytest/_io/pprint.py:654–655  ·  view source on GitHub ↗
(object: Any)

Source from the content-addressed store, hash-verified

652
653
654def _recursion(object: Any) -> str:
655 return f"<Recursion on {type(object).__name__} with id={id(object)}>"
656
657
658def _wrap_bytes_repr(object: Any, width: int, allowance: int) -> Iterator[str]:

Callers 2

_formatMethod · 0.85
_safe_reprMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected