diff options
author | Guido van Rossum <guido@python.org> | 1995-03-28 13:33:45 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-03-28 13:33:45 (GMT) |
commit | 557ed94ebbad49ec0f1ffa1b1b911a4ba1162c51 (patch) | |
tree | 034c83f2fd08fa9952c2d376fbee604f9ba19f55 | |
parent | cfc2f980f62c5bdaff29dea54b82a73df0d2a071 (diff) | |
download | cpython-557ed94ebbad49ec0f1ffa1b1b911a4ba1162c51.zip cpython-557ed94ebbad49ec0f1ffa1b1b911a4ba1162c51.tar.gz cpython-557ed94ebbad49ec0f1ffa1b1b911a4ba1162c51.tar.bz2 |
don't print PLAINTEXT = ...
-rw-r--r-- | Doc/partparse.py | 4 | ||||
-rw-r--r-- | Doc/tools/partparse.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Doc/partparse.py b/Doc/partparse.py index 6d43984..6128bbf 100644 --- a/Doc/partparse.py +++ b/Doc/partparse.py @@ -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 \ diff --git a/Doc/tools/partparse.py b/Doc/tools/partparse.py index 6d43984..6128bbf 100644 --- a/Doc/tools/partparse.py +++ b/Doc/tools/partparse.py @@ -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 \ |