Skip to content

Commit a187680

Browse files
committed
minor cleanup
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%40365
1 parent 6d7e57c commit a187680

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ def endTagTable(self, name):
10361036
def endTagIgnore(self, name):
10371037
self.parser.parseError()
10381038

1039-
def endTagOther(self, name, attributes={}):
1039+
def endTagOther(self, name):
10401040
# Make all the special element rearranging voodoo kick in
10411041
self.parser.insertFromTable = True
10421042
# Process the end tag in the "in body" mode

src/treebuilders/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#This file intentionally left blank
1+
# This file is intentionally left blank

tests/test_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def main():
8484
unittest.main()
8585

8686
if __name__ == "__main__":
87-
#Allow us to import the parent module
87+
# XXX Allow us to import the sibling module
8888
os.chdir(os.path.split(os.path.abspath(__file__))[0])
8989
sys.path.insert(0, os.path.abspath(os.path.join(os.pardir, "src")))
9090

0 commit comments

Comments
 (0)