bpo-15999: Always pass bool instead of int to the expat parser. (GH-15622)

This commit is contained in:
Serhiy Storchaka 2019-09-01 12:11:43 +03:00 committed by GitHub
parent 41c57b3353
commit eb8974616b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 36 additions and 36 deletions

View file

@ -442,7 +442,7 @@ class ExpatParser:
target.xml(encoding, None)
def feed(self, data):
self._parser.Parse(data, 0)
self._parser.Parse(data, False)
def close(self):
try: