From ec78861eef2faa5f87cb2bfa390ad6aab8d22d92 Mon Sep 17 00:00:00 2001 From: Sriram Sundarraj Date: Fri, 17 Jul 2015 16:12:58 +0530 Subject: [PATCH] Fixes #543. % is not depricated in PEP3101. --- docs/writing/structure.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/writing/structure.rst b/docs/writing/structure.rst index 1dfebf42c..98be4bf11 100644 --- a/docs/writing/structure.rst +++ b/docs/writing/structure.rst @@ -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:`% ` 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