MCPcopy Index your code
hub / github.com/RustPython/RustPython / bold

Method bold

Lib/pydoc.py:1278–1280  ·  view source on GitHub ↗

Format a string in bold by overstriking.

(self, text)

Source from the content-addressed store, hash-verified

1276 repr = _repr_instance.repr
1277
1278 def bold(self, text):
1279 """Format a string in bold by overstriking."""
1280 return ''.join(ch + '\b' + ch for ch in text)
1281
1282 def indent(self, text, prefix=' '):
1283 """Indent text by prepending a given prefix to each line."""

Callers 5

sectionMethod · 0.95
docclassMethod · 0.95
docroutineMethod · 0.95
docdataMethod · 0.95
docotherMethod · 0.95

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected