Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 557ed94

Browse files
committed
don't print PLAINTEXT = ...
1 parent cfc2f98 commit 557ed94

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/partparse.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2095,8 +2095,8 @@ def dumpit(buf, wm, pp):
20952095

20962096
elif ch.chtype == chunk_type(COMMENT):
20972097
## print 'COMMENT: previous chunk =', pp[i-2]
2098-
if pp[i-2].chtype == chunk_type(PLAIN):
2099-
print 'PLAINTEXT =', `s(buf, pp[i-2].data)`
2098+
## if pp[i-2].chtype == chunk_type(PLAIN):
2099+
## print 'PLAINTEXT =', `s(buf, pp[i-2].data)`
21002100
if s(buf, ch.data) and \
21012101
regex.match('^[ \t]*$', s(buf, ch.data)) < 0:
21022102
if i >= 2 and pp[i-2].chtype not in \

Doc/tools/partparse.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2095,8 +2095,8 @@ def dumpit(buf, wm, pp):
20952095

20962096
elif ch.chtype == chunk_type(COMMENT):
20972097
## print 'COMMENT: previous chunk =', pp[i-2]
2098-
if pp[i-2].chtype == chunk_type(PLAIN):
2099-
print 'PLAINTEXT =', `s(buf, pp[i-2].data)`
2098+
## if pp[i-2].chtype == chunk_type(PLAIN):
2099+
## print 'PLAINTEXT =', `s(buf, pp[i-2].data)`
21002100
if s(buf, ch.data) and \
21012101
regex.match('^[ \t]*$', s(buf, ch.data)) < 0:
21022102
if i >= 2 and pp[i-2].chtype not in \

0 commit comments

Comments
 (0)