[Python-checkins] r56763 - python/trunk/Lib/sgmllib.py
georg.brandl
python-checkins at python.org
Mon Aug 6 09:39:09 CEST 2007
Author: georg.brandl
Date: Mon Aug 6 09:39:09 2007
New Revision: 56763
Modified:
python/trunk/Lib/sgmllib.py
Log:
Replace unnecessary function call.
Modified: python/trunk/Lib/sgmllib.py
==============================================================================
--- python/trunk/Lib/sgmllib.py (original)
+++ python/trunk/Lib/sgmllib.py Mon Aug 6 09:39:09 2007
@@ -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):
More information about the Python-checkins
mailing list