Remove redundant leading zeroes in PEP references.

This commit is contained in:
Serhiy Storchaka 2016-03-31 15:30:54 +03:00
parent 0950e6aef6
commit e4ba872543
6 changed files with 15 additions and 15 deletions

View file

@ -439,7 +439,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.

View file

@ -2188,7 +2188,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.

View file

@ -378,14 +378,14 @@ on the right hand side of an assignment statement.
.. 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 to enhance the API and syntax of generators, making them
usable as simple coroutines.
:pep:`0380` - Syntax for Delegating to a Subgenerator
:pep:`380` - Syntax for Delegating to a Subgenerator
The proposal to introduce the :token:`yield_from` syntax, making delegation
to sub-generators easy.