diff options
Diffstat (limited to 'Lib/xml/sax/xmlreader.py')
-rw-r--r-- | Lib/xml/sax/xmlreader.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/xml/sax/xmlreader.py b/Lib/xml/sax/xmlreader.py index fea674b..7f31fc2 100644 --- a/Lib/xml/sax/xmlreader.py +++ b/Lib/xml/sax/xmlreader.py @@ -119,6 +119,7 @@ class IncrementalParser(XMLReader): while buffer != "": self.feed(buffer) buffer = file.read(self._bufsize) + self.close() def feed(self, data): """This method gives the raw XML data in the data parameter to |