summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-08-06 07:39:09 (GMT)
committerGeorg Brandl <georg@python.org>2007-08-06 07:39:09 (GMT)
commit0f6d360ac7b2b29ab4216821afa6347451f5390b (patch)
tree2e97f0c2346f8fe0167d2db70287b5a3de9aa679 /Lib
parent69ff5acc8b8855dc30ddccbdc87ec2d0d596139f (diff)
downloadcpython-0f6d360ac7b2b29ab4216821afa6347451f5390b.zip
cpython-0f6d360ac7b2b29ab4216821afa6347451f5390b.tar.gz
cpython-0f6d360ac7b2b29ab4216821afa6347451f5390b.tar.bz2
Replace unnecessary function call.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/sgmllib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sgmllib.py b/Lib/sgmllib.py
index 3ab57c2..b68eb7a 100644
--- a/Lib/sgmllib.py
+++ b/Lib/sgmllib.py
@@ -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):