summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-03-28 13:33:45 (GMT)
committerGuido van Rossum <guido@python.org>1995-03-28 13:33:45 (GMT)
commit557ed94ebbad49ec0f1ffa1b1b911a4ba1162c51 (patch)
tree034c83f2fd08fa9952c2d376fbee604f9ba19f55 /Doc
parentcfc2f980f62c5bdaff29dea54b82a73df0d2a071 (diff)
downloadcpython-557ed94ebbad49ec0f1ffa1b1b911a4ba1162c51.zip
cpython-557ed94ebbad49ec0f1ffa1b1b911a4ba1162c51.tar.gz
cpython-557ed94ebbad49ec0f1ffa1b1b911a4ba1162c51.tar.bz2
don't print PLAINTEXT = ...
Diffstat (limited to 'Doc')
-rw-r--r--Doc/partparse.py4
-rw-r--r--Doc/tools/partparse.py4
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 \