module documentation
NestedText format support.
| Function | dump |
Print the data as NestedText, without color, to stdout. |
| Function | dump |
Return a string representation of the data as NestedText, without color. |
| Function | load |
Wrap nestedtext.load with convenient configuration. |
| Function | |
Undocumented |
Print the data as NestedText, without color, to stdout.
| Parameters | |
data:JSONData | A JSONData to dump as NestedText. |
inlineint | Maximum line length for inline dictionaries and lists. |
Return a string representation of the data as NestedText, without color.
| Parameters | |
data:JSONData | A JSONData to dump as NestedText. |
inlineint | Maximum line length for inline dictionaries and lists. |
| Returns | |
str | A string representation of the data as NestedText. |
Wrap nestedtext.load with convenient configuration.
Set top-level type constraint to 'any', and assure the type checker the result is StringyData.
| Parameters | |
file:str | LocalPath | TextIO | NestedText file-like object, usually a LocalPath or sys.stdin. |
| Returns | |
StringyData | Parsed NestedText data as StringyData. |
@NTTError_from.register
@docstring_for_NTTError_from
def NTTError_from_NestedTextError(exc: @docstring_for_NTTError_from
NestedTextError) -> NTTError:
(source)
¶
Undocumented