MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / bold

Method bold

tools/python-3.11.9-amd64/Lib/pydoc.py:1225–1227  ·  view source on GitHub ↗

Format a string in bold by overstriking.

(self, text)

Source from the content-addressed store, hash-verified

1223 repr = _repr_instance.repr
1224
1225 def bold(self, text):
1226 """Format a string in bold by overstriking."""
1227 return ''.join(ch + '\b' + ch for ch in text)
1228
1229 def indent(self, text, prefix=' '):
1230 """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