summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/2.1.rst
diff options
context:
space:
mode:
authorStéphane Wirtel <stephane@wirtel.be>2018-10-26 22:58:26 (GMT)
committerBrett Cannon <brettcannon@users.noreply.github.com>2018-10-26 22:58:26 (GMT)
commit12e696b4f071ffe0d585b7f0d0d8020fd328bfdd (patch)
tree81ff44e5896a18441710a3e8f24543bf4d9382f5 /Doc/whatsnew/2.1.rst
parent9e14e49f13ef1a726f31efe6689285463332db6e (diff)
downloadcpython-12e696b4f071ffe0d585b7f0d0d8020fd328bfdd.zip
cpython-12e696b4f071ffe0d585b7f0d0d8020fd328bfdd.tar.gz
cpython-12e696b4f071ffe0d585b7f0d0d8020fd328bfdd.tar.bz2
bpo-35042: Use the :pep: role where a PEP is specified (#10036)
Diffstat (limited to 'Doc/whatsnew/2.1.rst')
-rw-r--r--Doc/whatsnew/2.1.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/whatsnew/2.1.rst b/Doc/whatsnew/2.1.rst
index 3486cdd..12c028f 100644
--- a/Doc/whatsnew/2.1.rst
+++ b/Doc/whatsnew/2.1.rst
@@ -112,8 +112,8 @@ anyway).
Compatibility concerns have led to nested scopes being introduced gradually; in
Python 2.1, they aren't enabled by default, but can be turned on within a module
-by using a future statement as described in PEP 236. (See the following section
-for further discussion of PEP 236.) In Python 2.2, nested scopes will become
+by using a future statement as described in :pep:`236`. (See the following section
+for further discussion of :pep:`236`.) In Python 2.2, nested scopes will become
the default and there will be no way to turn them off, but users will have had
all of 2.1's lifetime to fix any breakage resulting from their introduction.
@@ -213,7 +213,7 @@ otherwise it will call the appropriate method and can return any Python object.
There are also corresponding changes of interest to C programmers; there's a new
slot ``tp_richcmp`` in type objects and an API for performing a given rich
-comparison. I won't cover the C API here, but will refer you to PEP 207, or to
+comparison. I won't cover the C API here, but will refer you to :pep:`207`, or to
2.1's C API documentation, for the full list of related functions.
@@ -548,7 +548,7 @@ registering software at the Vaults is optional, and many people don't bother.
As a first small step toward fixing the problem, Python software packaged using
the Distutils :command:`sdist` command will include a file named
:file:`PKG-INFO` containing information about the package such as its name,
-version, and author (metadata, in cataloguing terminology). PEP 241 contains
+version, and author (metadata, in cataloguing terminology). :pep:`241` contains
the full list of fields that can be present in the :file:`PKG-INFO` file. As
people began to package their software using Python 2.1, more and more packages
will include metadata, making it possible to build automated cataloguing systems
@@ -561,7 +561,7 @@ package to a catalog server.
You can start creating packages containing :file:`PKG-INFO` even if you're not
using Python 2.1, since a new release of the Distutils will be made for users of
earlier Python versions. Version 1.0.2 of the Distutils includes the changes
-described in PEP 241, as well as various bugfixes and enhancements. It will be
+described in :pep:`241`, as well as various bugfixes and enhancements. It will be
available from the Distutils SIG at https://www.python.org/community/sigs/current/distutils-sig/.