internal.format

Standard library module View source
function seq_locale_decimal_point
@C
seq_locale_decimal_point()
function seq_locale_grouping
@C
seq_locale_grouping()
function seq_locale_thousands_sep
@C
seq_locale_thousands_sep()
variable FORMAT_FLAG_ALT
FORMAT_FLAG_ALT: Literal[int] = 1
variable FORMAT_FLAG_ZERO
FORMAT_FLAG_ZERO: Literal[int] = 2
variable FORMAT_FLAG_LEFT
FORMAT_FLAG_LEFT: Literal[int] = 4
variable FORMAT_FLAG_SPACE
FORMAT_FLAG_SPACE: Literal[int] = 8
variable FORMAT_FLAG_PLUS
FORMAT_FLAG_PLUS: Literal[int] = 16
function float_format_write
float_format_write(value: float, conversion: int, precision: int, alternate: bool, output: Ptr[u8])
function float_format_write_padded
float_format_write_padded(value: float, conversion: int, precision: int, flags: int, width: int, output: Ptr[u8])
function integer_format_write_padded
integer_format_write_padded(value, conversion: int, precision: int, flags: int, width: int, output: Ptr[u8])
function percent_format
percent_format(format: str, values)
function percent_format_mapping
percent_format_mapping(format: str, values)
function bytes_percent_format
bytes_percent_format(format: bytes, values)
function bytes_percent_format_mapping
bytes_percent_format_mapping(format: bytes, values)
class str
@extend
class str
Methods 2
format
format(self, *values)
format_map
format_map(self, mapping)
Special methods 1
__mod__
__mod__(self, values)
function brace_format
brace_format(format: str, values)
function brace_format_map
brace_format_map(format: str, mapping)