From: Raymond Hettinger Date: Thu, 23 May 2013 07:14:47 +0000 (-0700) Subject: Issue #18031: %-formatting isn't dead yet and might pull through. X-Git-Tag: v3.4.0a1~580^2~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c1939b8f757a1eacd85be9f5f18b9978783b875e;p=python Issue #18031: %-formatting isn't dead yet and might pull through. --- diff --git a/Doc/tutorial/inputoutput.rst b/Doc/tutorial/inputoutput.rst index ef22459ddb..744abab988 100644 --- a/Doc/tutorial/inputoutput.rst +++ b/Doc/tutorial/inputoutput.rst @@ -213,10 +213,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:`old-string-formatting` section.