Code
Hub
Trending
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
84
def
_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_elide
Function · 0.90
test_elide_typed_normal
Function · 0.90
test_elide_typed_short_match
Function · 0.90
test_elide_typed_no_match
Function · 0.90
_get_completions
Method · 0.85
Calls
2
_elide_typed
Function · 0.85
_elide_point
Function · 0.85
Tested by
4
test_elide
Function · 0.72
test_elide_typed_normal
Function · 0.72
test_elide_typed_short_match
Function · 0.72
test_elide_typed_no_match
Function · 0.72
Used in the wild
real call sites across dependent graphs
searching dependent graphs…