[Python-checkins] cpython (2.7): Remove redundant leading zeroes in PEP references.

serhiy.storchaka python-checkins at python.org
Thu Mar 31 08:31:47 EDT 2016


https://hg.python.org/cpython/rev/1d79e70e67b5
changeset:   100814:1d79e70e67b5
branch:      2.7
parent:      100809:3d9d9ca75a31
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Thu Mar 31 15:31:04 2016 +0300
summary:
  Remove redundant leading zeroes in PEP references.

files:
  Doc/library/contextlib.rst       |  2 +-
  Doc/library/weakref.rst          |  2 +-
  Doc/reference/compound_stmts.rst |  2 +-
  Doc/reference/datamodel.rst      |  2 +-
  Doc/reference/expressions.rst    |  2 +-
  Doc/reference/simple_stmts.rst   |  4 ++--
  6 files changed, 7 insertions(+), 7 deletions(-)


diff --git a/Doc/library/contextlib.rst b/Doc/library/contextlib.rst
--- a/Doc/library/contextlib.rst
+++ b/Doc/library/contextlib.rst
@@ -135,7 +135,7 @@
 
 .. seealso::
 
-   :pep:`0343` - The "with" statement
+   :pep:`343` - The "with" statement
       The specification, background, and examples for the Python :keyword:`with`
       statement.
 
diff --git a/Doc/library/weakref.rst b/Doc/library/weakref.rst
--- a/Doc/library/weakref.rst
+++ b/Doc/library/weakref.rst
@@ -245,7 +245,7 @@
 
 .. seealso::
 
-   :pep:`0205` - Weak References
+   :pep:`205` - Weak References
       The proposal and rationale for this feature, including links to earlier
       implementations and information about similar features in other languages.
 
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -418,7 +418,7 @@
 
 .. seealso::
 
-   :pep:`0343` - The "with" statement
+   :pep:`343` - The "with" statement
       The specification, background, and examples for the Python :keyword:`with`
       statement.
 
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -2397,7 +2397,7 @@
 
 .. seealso::
 
-   :pep:`0343` - The "with" statement
+   :pep:`343` - The "with" statement
       The specification, background, and examples for the Python :keyword:`with`
       statement.
 
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst
--- a/Doc/reference/expressions.rst
+++ b/Doc/reference/expressions.rst
@@ -508,7 +508,7 @@
 
 .. seealso::
 
-   :pep:`0342` - Coroutines via Enhanced Generators
+   :pep:`342` - Coroutines via Enhanced Generators
       The proposal to enhance the API and syntax of generators, making them usable as
       simple coroutines.
 
diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst
--- a/Doc/reference/simple_stmts.rst
+++ b/Doc/reference/simple_stmts.rst
@@ -538,10 +538,10 @@
 
 .. seealso::
 
-   :pep:`0255` - Simple Generators
+   :pep:`255` - Simple Generators
       The proposal for adding generators and the :keyword:`yield` statement to Python.
 
-   :pep:`0342` - Coroutines via Enhanced Generators
+   :pep:`342` - Coroutines via Enhanced Generators
       The proposal that, among other generator enhancements, proposed allowing
       :keyword:`yield` to appear inside a :keyword:`try` ... :keyword:`finally` block.
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list