Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bd93a7 commit 90b60a6Copy full SHA for 90b60a6
1 file changed
Lib/xml/sax/expatreader.py
@@ -219,6 +219,9 @@ def close(self):
219
self._parsing = 0
220
# break cycle created by expat handlers pointing to our methods
221
self._parser = None
222
+ bs = self._source.getByteStream()
223
+ if bs is not None:
224
+ bs.close()
225
226
def _reset_cont_handler(self):
227
self._parser.ProcessingInstructionHandler = \
0 commit comments