Thanks to visit codestin.com Credit goes to github.com
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 7f0882c commit c1939b8Copy full SHA for c1939b8
1 file changed
Doc/tutorial/inputoutput.rst
@@ -213,10 +213,6 @@ operation. For example::
213
>>> print('The value of PI is approximately %5.3f.' % math.pi)
214
The value of PI is approximately 3.142.
215
216
-Since :meth:`str.format` is quite new, a lot of Python code still uses the ``%``
217
-operator. However, because this old style of formatting will eventually be
218
-removed from the language, :meth:`str.format` should generally be used.
219
-
220
More information can be found in the :ref:`old-string-formatting` section.
221
222
0 commit comments