Skip to content

Commit ec78861

Browse files
committed
Fixes realpython#543. % is not depricated in PEP3101.
1 parent 8c60d1b commit ec78861

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/writing/structure.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -469,9 +469,8 @@ like above or in cases where you are adding to an existing string, using
469469
.. note::
470470
You can also use the :ref:`% <python:string-formatting>` formatting operator
471471
to concatenate a pre-determined number of strings besides :py:meth:`str.join`
472-
and ``+``. However, according to :pep:`3101`, the ``%`` operator became
473-
deprecated in Python 3.1 and will be replaced by the :py:meth:`str.format`
474-
method in the later versions.
472+
and ``+``. However, :pep:`3101`, discourages the usage of the ``%`` operator
473+
in favor of the :py:meth:`str.format` method.
475474

476475
.. code-block:: python
477476

0 commit comments

Comments
 (0)