Kaydet (Commit) 0f6d360a authored tarafından Georg Brandl's avatar Georg Brandl

Replace unnecessary function call.

üst 69ff5acc
...@@ -428,7 +428,7 @@ class SGMLParser(markupbase.ParserBase): ...@@ -428,7 +428,7 @@ class SGMLParser(markupbase.ParserBase):
if replacement is None: if replacement is None:
self.unknown_entityref(name) self.unknown_entityref(name)
else: else:
self.handle_data(self.convert_entityref(name)) self.handle_data(replacement)
# Example -- handle data, should be overridden # Example -- handle data, should be overridden
def handle_data(self, data): def handle_data(self, data):
......
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