summaryrefslogtreecommitdiffstats
path: root/Lib/xml
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/xml')
-rw-r--r--Lib/xml/dom/pulldom.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/xml/dom/pulldom.py b/Lib/xml/dom/pulldom.py
index e2d2337..fd26787 100644
--- a/Lib/xml/dom/pulldom.py
+++ b/Lib/xml/dom/pulldom.py
@@ -184,8 +184,7 @@ class DOMEventStream:
while not self.pulldom.firstEvent[1]:
buf = self.stream.read(self.bufsize)
if not buf:
- #FIXME: why doesn't Expat close work?
- #self.parser.close()
+ self.parser.close()
return None
self.parser.feed(buf)
rc = self.pulldom.firstEvent[1][0]