From: Serhiy Storchaka Date: Thu, 31 Mar 2016 12:31:04 +0000 (+0300) Subject: Remove redundant leading zeroes in PEP references. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=838b1339e86250a02ea4b55e21d943127fa40fcf;p=python Remove redundant leading zeroes in PEP references. --- diff --git a/Doc/library/contextlib.rst b/Doc/library/contextlib.rst index 610c0b019d..c88dd2318b 100644 --- a/Doc/library/contextlib.rst +++ b/Doc/library/contextlib.rst @@ -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. diff --git a/Doc/library/weakref.rst b/Doc/library/weakref.rst index 1c3cdbbca6..e5a99ea422 100644 --- a/Doc/library/weakref.rst +++ b/Doc/library/weakref.rst @@ -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. diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index 1251024719..66ae5300b0 100644 --- a/Doc/reference/compound_stmts.rst +++ b/Doc/reference/compound_stmts.rst @@ -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. diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index c61c55b8f0..eca4484e9f 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -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. diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst index 427a63ac2c..1fd37f3bb3 100644 --- a/Doc/reference/expressions.rst +++ b/Doc/reference/expressions.rst @@ -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. diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst index 0203e08141..1aa1fc1065 100644 --- a/Doc/reference/simple_stmts.rst +++ b/Doc/reference/simple_stmts.rst @@ -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.