MCPcopy 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
59def real_len(s: str) -> int:
60 return len(stripcolor(s))
61
62
63def left_align(s: str, maxlen: int) -> str:

Callers

nothing calls this directly

Calls 1

stripcolorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…