Skip to main content

Module parser

Module parser 

Source
Expand description

Internal module implementing the parser for format strings.

Users should call escape_double_curly_braces or parse_format_arguments.

Structs§

ParseError
Parser error for invalid Python-style format strings.

Enums§

Value
Parsed format string segment.

Functions§

escape_double_curly_braces
Unescape doubled braces ({{ -> {, }} -> }) in value.
parse_format_arguments
Parse a format string into a sequence of Value segments.