diff options
author | Raymond Hettinger <python@rcn.com> | 2013-05-23 07:14:47 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2013-05-23 07:14:47 (GMT) |
commit | c1939b8f757a1eacd85be9f5f18b9978783b875e (patch) | |
tree | 70ccecec7b18ae65c3932e1f0ce21a88fa89efca | |
parent | 7f0882c920a9a3e3c7244f84743170dcf2324843 (diff) | |
download | cpython-c1939b8f757a1eacd85be9f5f18b9978783b875e.zip cpython-c1939b8f757a1eacd85be9f5f18b9978783b875e.tar.gz cpython-c1939b8f757a1eacd85be9f5f18b9978783b875e.tar.bz2 |
Issue #18031: %-formatting isn't dead yet and might pull through.
-rw-r--r-- | Doc/tutorial/inputoutput.rst | 4 |
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. |