Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ real_len
Function
real_len
Lib/_pyrepl/completing_reader.py:59–60 ·
view source on GitHub ↗
(s: str)
Source
from the content-addressed store, hash-verified
57
58
59
def
real_len(s: str) -> int:
60
return
len(stripcolor(s))
61
62
63
def
left_align(s: str, maxlen: int) -> str:
Callers
nothing calls this directly
Calls
1
stripcolor
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…