summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2013-05-23 07:15:19 (GMT)
committerRaymond Hettinger <python@rcn.com>2013-05-23 07:15:19 (GMT)
commit8f34da3f5fa7942e69c0c02a5e6faf8bc3acba71 (patch)
treef9c281170d7696ca28e273378b3aedaf576c485a /Doc/tutorial
parent6a00b6f4fddef79e22d9969ea7e4d4b573f62429 (diff)
parentc1939b8f757a1eacd85be9f5f18b9978783b875e (diff)
downloadcpython-8f34da3f5fa7942e69c0c02a5e6faf8bc3acba71.zip
cpython-8f34da3f5fa7942e69c0c02a5e6faf8bc3acba71.tar.gz
cpython-8f34da3f5fa7942e69c0c02a5e6faf8bc3acba71.tar.bz2
merge
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/inputoutput.rst4
1 files changed, 0 insertions, 4 deletions
diff --git a/Doc/tutorial/inputoutput.rst b/Doc/tutorial/inputoutput.rst
index ef22459..744abab 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.