[Python-checkins] peps: Fix nesting of the numerical index (#12307).

eric.araujo python-checkins at python.org
Fri Nov 25 17:44:10 CET 2011


http://hg.python.org/peps/rev/6c7415a4f0f3
changeset:   4003:6c7415a4f0f3
user:        Éric Araujo <merwok at netwok.org>
date:        Fri Nov 25 17:43:36 2011 +0100
summary:
  Fix nesting of the numerical index (#12307).

This extra space caused the numerical index to be parsed and displayed as a
subsection of the index by category instead of being an element at the same
level.  Patch by Eric Snow.

files:
  pep0/output.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/pep0/output.py b/pep0/output.py
--- a/pep0/output.py
+++ b/pep0/output.py
@@ -169,7 +169,7 @@
         print>>output, unicode(pep)
     print>>output
     print>>output
-    print>>output, u" Numerical Index"
+    print>>output, u"Numerical Index"
     print>>output
     write_column_headers(output)
     prev_pep = 0

-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list