Fixes #543. % is not depricated in PEP3101.

This commit is contained in:
Sriram Sundarraj
2015-07-17 16:12:58 +05:30
parent 8c60d1bd1b
commit ec78861eef
+2 -3
View File
@@ -469,9 +469,8 @@ like above or in cases where you are adding to an existing string, using
.. note::
You can also use the :ref:`% <python:string-formatting>` formatting operator
to concatenate a pre-determined number of strings besides :py:meth:`str.join`
and ``+``. However, according to :pep:`3101`, the ``%`` operator became
deprecated in Python 3.1 and will be replaced by the :py:meth:`str.format`
method in the later versions.
and ``+``. However, :pep:`3101`, discourages the usage of the ``%`` operator
in favor of the :py:meth:`str.format` method.
.. code-block:: python