[Python-checkins] peps: remove superfluous special casing for lines beginning with '[*]'

georg.brandl python-checkins at python.org
Wed Mar 23 21:24:50 CET 2011


http://hg.python.org/peps/rev/259ddc1244c7
changeset:   99:259ddc1244c7
user:        Peter Schneider-Kamp <nowonder at nowonder.de>
date:        Tue Aug 15 10:35:17 2000 +0000
summary:
  remove superfluous special casing for lines beginning with '[*]'

files:
  pep2html.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/pep2html.py b/pep2html.py
--- a/pep2html.py
+++ b/pep2html.py
@@ -118,7 +118,7 @@
         if not line:
             break
         if line[0] != "\f":
-            if line[0].strip() and line[:3] != '[*]':
+            if line[0].strip():
                 if line.strip() == LOCALVARS:
                     break
                 fo.write("</pre>\n<h3>%s</h3>\n<pre>" % line.strip())

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


More information about the Python-checkins mailing list