mirror of https://github.com/python/cpython
Replace unnecessary function call.
This commit is contained in:
parent
69ff5acc8b
commit
0f6d360ac7
|
@ -428,7 +428,7 @@ class SGMLParser(markupbase.ParserBase):
|
|||
if replacement is None:
|
||||
self.unknown_entityref(name)
|
||||
else:
|
||||
self.handle_data(self.convert_entityref(name))
|
||||
self.handle_data(replacement)
|
||||
|
||||
# Example -- handle data, should be overridden
|
||||
def handle_data(self, data):
|
||||
|
|
Loading…
Reference in New Issue