]> granicus.if.org Git - python/commitdiff
Remove redundant leading zeroes in PEP references.
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 31 Mar 2016 12:31:04 +0000 (15:31 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Thu, 31 Mar 2016 12:31:04 +0000 (15:31 +0300)
Doc/library/contextlib.rst
Doc/library/weakref.rst
Doc/reference/compound_stmts.rst
Doc/reference/datamodel.rst
Doc/reference/expressions.rst
Doc/reference/simple_stmts.rst

index 610c0b019d83b847dede950950e1edf30fa5f3c0..c88dd2318bbee7973e0ad80310cae453736a167e 100644 (file)
@@ -135,7 +135,7 @@ Functions provided:
 
 .. seealso::
 
-   :pep:`0343` - The "with" statement
+   :pep:`343` - The "with" statement
       The specification, background, and examples for the Python :keyword:`with`
       statement.
 
index 1c3cdbbca6744f5c73e316e31c89d27c8179ce11..e5a99ea422cbcefb4603a0c031a44d9536925356 100644 (file)
@@ -245,7 +245,7 @@ methods of :class:`WeakKeyDictionary` objects.
 
 .. 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.
 
index 125102471999585d4e408bdcd4136961b64c42c5..66ae5300b07e097735ddd60951d94da1c8157511 100644 (file)
@@ -418,7 +418,7 @@ is equivalent to ::
 
 .. seealso::
 
-   :pep:`0343` - The "with" statement
+   :pep:`343` - The "with" statement
       The specification, background, and examples for the Python :keyword:`with`
       statement.
 
index c61c55b8f0a1f4079e39f07ee8ccfe04d6539348..eca4484e9fca85a1bac34eb1c0eee1b712184bb8 100644 (file)
@@ -2397,7 +2397,7 @@ For more information on context managers, see :ref:`typecontextmanager`.
 
 .. seealso::
 
-   :pep:`0343` - The "with" statement
+   :pep:`343` - The "with" statement
       The specification, background, and examples for the Python :keyword:`with`
       statement.
 
index 427a63ac2cdbcb5c33c1f59b64a0f06ba4895f11..1fd37f3bb340f19effefc6adbdf2750460712798 100644 (file)
@@ -508,7 +508,7 @@ generator functions::
 
 .. 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.
 
index 0203e0814175f502cee7aa4e5b592ad542882472..1aa1fc106513644dc80c6f4dab8d4281eeb446f6 100644 (file)
@@ -538,10 +538,10 @@ section.
 
 .. 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.