The TOML basic string for value; the one string writer of the package.
Parameters
| value |
str |
Any string. |
required |
Returns
| str |
str |
The string in double quotes with every escape that TOML needs. |
Examples
from babregen.spec import toml_string
print(toml_string('say "hi"' + chr(10)))