8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af50c84 commit fb1d01bCopy full SHA for fb1d01b
Doc/library/string.rst
@@ -188,8 +188,8 @@ Format String Syntax
188
The :meth:`str.format` method and the :class:`Formatter` class share the same
189
syntax for format strings (although in the case of :class:`Formatter`,
190
subclasses can define their own format string syntax). The syntax is
191
-related to that of :ref:`formatted string literals <f-strings>`, but
192
-there are differences.
+related to that of :ref:`formatted string literals <f-strings>`, but it is
+less sophisticated and, in particular, does not support arbitrary expressions.
193
194
.. index::
195
single: {} (curly brackets); in string formatting
0 commit comments