MCPcopy Index your code
hub / github.com/python/cpython / plain

Function plain

Lib/_pyrepl/pager.py:66–68  ·  view source on GitHub ↗

Remove boldface formatting from text.

(text: str)

Source from the content-addressed store, hash-verified

64
65
66def plain(text: str) -> str:
67 """Remove boldface formatting from text."""
68 return re.sub('.\b', '', text)
69
70
71def tty_pager(text: str, title: str = '') -> None:

Callers 4

plain_pagerFunction · 0.90
get_pagerFunction · 0.70
tty_pagerFunction · 0.70
plain_pagerFunction · 0.70

Calls 1

subMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…