GNU gettext utilities: python-format
From Get docs
Gettext/docs/latest/python 002dformat
Next: java-format, Previous: objc-format, Up: Translators for other Languages [Contents][Index]
15.3.3 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 /@w / 5. Built-in Types /@w / 5.6. Sequence Types /@w / 5.6.2. String Formatting Operations /@w . https://docs.python.org/2/library/stdtypes.html#string-formatting-operations.
Python brace format strings are described in PEP 3101 – Advanced String Formatting /@w , https://www.python.org/dev/peps/pep-3101/.