[Python-checkins] peps: Fix commas and whitespace in PEP 473.

ezio.melotti python-checkins at python.org
Sun Nov 2 17:13:57 CET 2014

changeset:   5592:8e9097a145dd
user:        Ezio Melotti <ezio.melotti at gmail.com>
date:        Sun Nov 02 18:13:45 2014 +0200
  Fix commas and whitespace in PEP 473.

  pep-0473.txt |  6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/pep-0473.txt b/pep-0473.txt
--- a/pep-0473.txt
+++ b/pep-0473.txt
@@ -14,7 +14,7 @@
 Exceptions like ``AttributeError``, ``IndexError``, ``KeyError``,
-``LookupError``, ``NameError``, , ``TypeError`` and ``ValueError`` do not
+``LookupError``, ``NameError``, ``TypeError``, and ``ValueError`` do not
 provide all information required by programmers to debug and better understand
 what caused them.
 Furthermore, in some cases the messages even have slightly different formats,
@@ -47,7 +47,7 @@
 A similar proposal [2]_ has been implemented for ``ImportError`` and in the same
 fashion this idea has received support [3]_. Additionally, almost 10 years ago
 Guido asked in [11]_ to have a clean API to access the affected objects in
-Exceptions like ``KeyError``, ``AttributeError``,  ``NameError`` and
+Exceptions like ``KeyError``, ``AttributeError``, ``NameError``, and
 ``IndexError``. Similar issues and proposals ideas have been written in the
 last year. Some other issues have been created, but despite receiving support
 they finally get abandoned. References to the created issues are listed below:
@@ -157,7 +157,7 @@
 Extend the exceptions ``AttributeError``, ``IndexError``, ``KeyError``,
-``LookupError``, ``NameError``, , ``TypeError`` and ``ValueError`` with the
+``LookupError``, ``NameError``, ``TypeError``, and ``ValueError`` with the
 * ``AttributeError``: target :sup:`w`, attribute

Repository URL: https://hg.python.org/peps

More information about the Python-checkins mailing list