]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
don't print PLAINTEXT = ...
authorGuido van Rossum <guido@python.org>
Tue, 28 Mar 1995 13:33:45 +0000 (13:33 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 28 Mar 1995 13:33:45 +0000 (13:33 +0000)
Doc/partparse.py
Doc/tools/partparse.py

index 6d4398460dd62e79530085419864b323150835a1..6128bbfaf971a1829b634e4ac73f98319bfb4ffa 100644 (file)
@@ -2095,8 +2095,8 @@ def dumpit(buf, wm, pp):
                        
                elif ch.chtype == chunk_type(COMMENT):
 ##                     print 'COMMENT: previous chunk =', pp[i-2]
-                       if pp[i-2].chtype == chunk_type(PLAIN):
-                               print 'PLAINTEXT =', `s(buf, pp[i-2].data)`
+##                     if pp[i-2].chtype == chunk_type(PLAIN):
+##                             print 'PLAINTEXT =', `s(buf, pp[i-2].data)`
                        if s(buf, ch.data) and \
                                  regex.match('^[ \t]*$', s(buf, ch.data)) < 0:
                                if i >= 2 and pp[i-2].chtype not in \
index 6d4398460dd62e79530085419864b323150835a1..6128bbfaf971a1829b634e4ac73f98319bfb4ffa 100644 (file)
@@ -2095,8 +2095,8 @@ def dumpit(buf, wm, pp):
                        
                elif ch.chtype == chunk_type(COMMENT):
 ##                     print 'COMMENT: previous chunk =', pp[i-2]
-                       if pp[i-2].chtype == chunk_type(PLAIN):
-                               print 'PLAINTEXT =', `s(buf, pp[i-2].data)`
+##                     if pp[i-2].chtype == chunk_type(PLAIN):
+##                             print 'PLAINTEXT =', `s(buf, pp[i-2].data)`
                        if s(buf, ch.data) and \
                                  regex.match('^[ \t]*$', s(buf, ch.data)) < 0:
                                if i >= 2 and pp[i-2].chtype not in \