manpagez: man pages & more
info gettext
Home | html | info | man

File: gettext.info,  Node: python-format,  Next: java-format,  Prev: c++-format,  Up: Translators for other Languages

16.3.4 Python Format Strings
----------------------------

   There are two kinds of format strings in Python: those acceptable to
the Python built-in format operator ‘%’, labelled as ‘python-format’,
and those acceptable to the ‘format’ method of the ‘str’ object.

   Python ‘%’ format strings are described in Python Library reference /
5.  Built-in Types / 5.6.  Sequence Types /
5.6.2.  String Formatting Operations.
.

   Python brace format strings are described in
PEP 3101 - Advanced String Formatting,
.

© manpagez.com 2000-2026
Individual documents may contain additional copyright information.