commit | 0f6d360ac7b2b29ab4216821afa6347451f5390b | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Mon Aug 06 07:39:09 2007 +0000 |
committer | Georg Brandl <georg@python.org> | Mon Aug 06 07:39:09 2007 +0000 |
tree | 2e97f0c2346f8fe0167d2db70287b5a3de9aa679 | |
parent | 69ff5acc8b8855dc30ddccbdc87ec2d0d596139f [diff] [blame] |
Replace unnecessary function call.
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 @@ 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):