]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #18031: %-formatting isn't dead yet and might pull through.
authorRaymond Hettinger <python@rcn.com>
Thu, 23 May 2013 07:12:14 +0000 (00:12 -0700)
committerRaymond Hettinger <python@rcn.com>
Thu, 23 May 2013 07:12:14 +0000 (00:12 -0700)
Doc/tutorial/inputoutput.rst

index b1611f205908d07e1879a239ad0c01d583398613..45ca79244c468fb9bed36481368b9e4c75eccd2c 100644 (file)
@@ -215,10 +215,6 @@ operation. For example::
    >>> print 'The value of PI is approximately %5.3f.' % math.pi
    The value of PI is approximately 3.142.
 
-Since :meth:`str.format` is quite new, a lot of Python code still uses the ``%``
-operator. However, because this old style of formatting will eventually be
-removed from the language, :meth:`str.format` should generally be used.
-
 More information can be found in the :ref:`string-formatting` section.