We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0165d0 commit a2003bdCopy full SHA for a2003bd
Doc/tutorial/inputoutput.rst
@@ -279,9 +279,11 @@ left with zeros. It understands about plus and minus signs::
279
Old string formatting
280
---------------------
281
282
-The % operator (modulo) can also be used for string formatting. Given ``'string'
283
-% values``, instances of ``%`` in ``string`` are replaced with zero or more
284
-elements of ``values``. This operation is commonly known as string
+The % operator (modulo) can also be used for string formatting.
+Given ``format % values`` (where *format* is a string),
+``%`` conversion specifications in *format* are replaced with
285
+zero or more elements of *values*.
286
+This operation is commonly known as string
287
interpolation. For example::
288
289
>>> import math
0 commit comments