Use the :pep: tag instead of directly linking PEPs

This commit is contained in:
kuyan
2013-07-30 13:05:56 -07:00
parent cbcbce56c8
commit b6f014342d
10 changed files with 25 additions and 30 deletions
+2 -3
View File
@@ -466,9 +466,8 @@ should be your preferred method.
.. note::
You can also use the **%** formatting operator to concatenate the
pre-determined number of strings besides **join()** and **+**. However,
according to `PEP 3101 <http://www.python.org/dev/peps/pep-3101/>`_,
**%** operator became deprecated in Python 3.1 and will be replaced by the
**format()** method in the later versions.
according to :pep:`3101`, the **%** operator became deprecated in
Python 3.1 and will be replaced by the **format()** method in the later versions.
.. code-block:: python