File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -279,9 +279,11 @@ left with zeros. It understands about plus and minus signs::
279
279
Old string formatting
280
280
---------------------
281
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
282
+ The % operator (modulo) can also be used for string formatting.
283
+ Given ``format % values `` (where *format * is a string),
284
+ ``% `` conversion specifications in *format * are replaced with
285
+ zero or more elements of *values *.
286
+ This operation is commonly known as string
285
287
interpolation. For example::
286
288
287
289
>>> import math
You can’t perform that action at this time.
0 commit comments