Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
70
def
_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_elide
Method · 0.90
test_elide_typed_normal
Method · 0.90
test_elide_typed_short_match
Method · 0.90
test_elide_typed_no_match
Method · 0.90
_get_completions
Method · 0.85
Calls
2
_elide_typed
Function · 0.85
_elide_point
Function · 0.85
Tested by
4
test_elide
Method · 0.72
test_elide_typed_normal
Method · 0.72
test_elide_typed_short_match
Method · 0.72
test_elide_typed_no_match
Method · 0.72