Just use replacement strings listed in the table.
Replacement string | Type |
---|---|
{num} |
int _ |
{name} |
str _ |
{symbol} |
str _ |
{variant} |
str _ |
{current_data} |
GroupData _ |
{count} |
int _ |
{names} |
list of str _ |
{symbols} |
list of str _ |
{variants} |
list of str _ |
{all_data} |
list of GroupData _ |
See Format Specification Mini-Language_
See Format Specification Mini-Language_
format_spec ::= [str_format_spec][:[join_str]]
format_spec ::= [format_str]
format_str
— arbitrary format string, where the only replacement strings are {num}
, {name}
, {symbol}
and {variant}
.format_spec ::= [group_data_format_spec][:[join_str]]
group_data_format_spec
— GroupData
_join_str
— str
used to join list elements