MCPcopy Create free account
hub / github.com/ipython/ipython / _elide

Function _elide

IPython/terminal/ptutils.py:70–73  ·  view source on GitHub ↗
(string:str, typed:str, min_elide=30)

Source from the content-addressed store, hash-verified

68 return string
69
70def _elide(string:str, typed:str, min_elide=30)->str:
71 return _elide_typed(
72 _elide_point(string, min_elide=min_elide),
73 typed, min_elide=min_elide)
74
75
76

Callers 5

test_elideMethod · 0.90
_get_completionsMethod · 0.85

Calls 2

_elide_typedFunction · 0.85
_elide_pointFunction · 0.85

Tested by 4

test_elideMethod · 0.72