Make a python docstring literal out of a given string.
(string: str)
| 411 | |
| 412 | |
| 413 | def make_python_docstring(string: str) -> str: |
| 414 | """Make a python docstring literal out of a given string.""" |
| 415 | return '"""{}."""'.format(string.replace('"""', '\\"\\"\\"')) |
| 416 | |
| 417 | |
| 418 | def make_string_literal(string: str) -> str: |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…