Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit84412cf

Browse files
committed
Remove needless print calls
1 parente1a400c commit84412cf

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

‎html5lib/tests/test_parser.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,5 @@ def test_parser():
8484

8585
fortreeName,treeClsintreeTypes.items():
8686
fornamespaceHTMLElementsin (True,False):
87-
print(input)
8887
yield (runParserTest,innerHTML,input,expected,errors,treeCls,
8988
namespaceHTMLElements)

‎html5lib/treebuilders/simpletree.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,6 @@ def hilite(self):
203203
returnresult+'&lt;/<code class="markup element-name">%s</code>>'%self.name
204204

205205
defprintTree(self,indent):
206-
print(self.name)
207206
tree='\n|%s%s'% (' '*indent,str(self))
208207
indent+=2
209208
ifself.attributes:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp