From 557ed94ebbad49ec0f1ffa1b1b911a4ba1162c51 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 28 Mar 1995 13:33:45 +0000 Subject: [PATCH] don't print PLAINTEXT = ... --- Doc/partparse.py | 4 ++-- Doc/tools/partparse.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Doc/partparse.py b/Doc/partparse.py index 6d4398460dd..6128bbfaf97 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 6d4398460dd..6128bbfaf97 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 \