Commit a476259a authored by Guido van Rossum's avatar Guido van Rossum

Make the position argument to emitStartElemtnt() optional, so we don't

break the use from TALParser.
parent 45bc66e3
......@@ -306,7 +306,7 @@ class TALGenerator:
return newlist
def emitStartElement(self, name, attrlist, taldict, metaldict,
position):
position=None):
for key in taldict.keys():
if key not in KNOWN_TAL_ATTRIBUTES:
raise TALError("bad TAL attribute: " + `key`, position)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment