MCPcopy Index your code
hub / github.com/ipython/ipython / _elide

Function _elide

IPython/terminal/ptutils.py:84–87  ·  view source on GitHub ↗
(string: str, typed: str, min_elide)

Source from the content-addressed store, hash-verified

82
83
84def _elide(string: str, typed: str, min_elide) -> str:
85 return _elide_typed(
86 _elide_point(string, min_elide=min_elide),
87 typed, min_elide=min_elide)
88
89
90

Callers 5

test_elideFunction · 0.90
test_elide_typed_normalFunction · 0.90
_get_completionsMethod · 0.85

Calls 2

_elide_typedFunction · 0.85
_elide_pointFunction · 0.85

Tested by 4

test_elideFunction · 0.72
test_elide_typed_normalFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…