summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/2.5.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.5.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.5.rst')
-rw-r--r--Doc/whatsnew/2.5.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/whatsnew/2.5.rst b/Doc/whatsnew/2.5.rst
index 79c5a73..d70b642 100644
--- a/Doc/whatsnew/2.5.rst
+++ b/Doc/whatsnew/2.5.rst
@@ -256,7 +256,7 @@ Package uploading was implemented by Martin von Löwis and Richard Jones.
PEP 328: Absolute and Relative Imports
======================================
-The simpler part of PEP 328 was implemented in Python 2.4: parentheses could now
+The simpler part of :pep:`328` was implemented in Python 2.4: parentheses could now
be used to enclose the names imported from a module using the ``from ... import
...`` statement, making it easier to import many different names.
@@ -529,7 +529,7 @@ chance to run. The syntactic restriction that you couldn't mix :keyword:`yield`
statements with a ``try...finally`` suite has therefore been removed. This
seems like a minor bit of language trivia, but using generators and
``try...finally`` is actually necessary in order to implement the
-:keyword:`with` statement described by PEP 343. I'll look at this new statement
+:keyword:`with` statement described by :pep:`343`. I'll look at this new statement
in the following section.
Another even more esoteric effect of this change: previously, the
@@ -1483,7 +1483,7 @@ complete list of changes, or look through the SVN logs for all the details.
2.4, so this completes the removal of the feature.
* The :mod:`pkgutil` module, containing various utility functions for finding
- packages, was enhanced to support PEP 302's import hooks and now also works for
+ packages, was enhanced to support :pep:`302`'s import hooks and now also works for
packages stored in ZIP-format archives. (Contributed by Phillip J. Eby.)
* The pybench benchmark suite by Marc-André Lemburg is now included in the
@@ -2043,7 +2043,7 @@ between web servers and Python web applications and is described in :pep:`333`.
The :mod:`wsgiref` package is a reference implementation of the WSGI
specification.
-.. XXX should this be in a PEP 333 section instead?
+.. XXX should this be in a :pep:`333` section instead?
The package includes a basic HTTP server that will run a WSGI application; this
server is useful for debugging but isn't intended for production use. Setting