Format a string in bold by overstriking.
(self, text)
| 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.""" |