Skip to content

Commit 4b07a27

Browse files
committed
minor cleanup
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%40359
1 parent 6603b37 commit 4b07a27

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/parser.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,13 +1253,13 @@ def startTagCol(self, name, attributes):
12531253
self.startTagColgroup("colgroup", {})
12541254
self.parser.phase.processStartTag(name, attributes)
12551255

1256-
def startTagRowGroup(self, name, attributes={}):
1256+
def startTagRowGroup(self, name, attributes):
12571257
self.clearStackToTableContext()
12581258
self.parser.insertElement(name, attributes)
12591259
self.parser.phase = self.parser.phases["inTableBody"]
12601260

12611261
def startTagImplyTbody(self, name, attributes):
1262-
self.startTagRowGroup("tbody")
1262+
self.startTagRowGroup("tbody", {})
12631263
self.parser.phase.processStartTag(name, attributes)
12641264

12651265
def startTagTable(self, name, attributes):
@@ -1302,8 +1302,6 @@ def endTagOther(self, name, attributes={}):
13021302

13031303
class InCaptionPhase(Phase):
13041304
# http://www.whatwg.org/specs/web-apps/current-work/#in-caption
1305-
# XXX ...
1306-
13071305
def __init__(self, parser):
13081306
Phase.__init__(self, parser)
13091307

0 commit comments

Comments
 (0)