From: Guido van Rossum Date: Tue, 28 Mar 1995 13:33:45 +0000 (+0000) Subject: don't print PLAINTEXT = ... X-Git-Tag: v1.2~55 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=557ed94ebbad49ec0f1ffa1b1b911a4ba1162c51;p=thirdparty%2FPython%2Fcpython.git don't print PLAINTEXT = ... --- diff --git a/Doc/partparse.py b/Doc/partparse.py index 6d4398460dd6..6128bbfaf971 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 6d4398460dd6..6128bbfaf971 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 \