commit | eb8974616bc58f44b2a3c3e4ca2326894ae42c8f | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Sun Sep 01 12:11:43 2019 +0300 |
committer | GitHub <noreply@github.com> | Sun Sep 01 12:11:43 2019 +0300 |
tree | 8b33d94a0ca263a5260703d1299fe54ab90d48c2 | |
parent | 41c57b335330ff48af098d47e379e0f9ba09d233 [diff] [blame] |
bpo-15999: Always pass bool instead of int to the expat parser. (GH-15622)
diff --git a/Lib/xmlrpc/client.py b/Lib/xmlrpc/client.py index 246ef27..b4b2941 100644 --- a/Lib/xmlrpc/client.py +++ b/Lib/xmlrpc/client.py
@@ -442,7 +442,7 @@ target.xml(encoding, None) def feed(self, data): - self._parser.Parse(data, 0) + self._parser.Parse(data, False) def close(self): try: