summaryrefslogtreecommitdiffstats
path: root/Lib/xmlrpc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2019-09-01 09:11:43 (GMT)
committerGitHub <noreply@github.com>2019-09-01 09:11:43 (GMT)
commiteb8974616bc58f44b2a3c3e4ca2326894ae42c8f (patch)
tree8b33d94a0ca263a5260703d1299fe54ab90d48c2 /Lib/xmlrpc
parent41c57b335330ff48af098d47e379e0f9ba09d233 (diff)
downloadcpython-eb8974616bc58f44b2a3c3e4ca2326894ae42c8f.zip
cpython-eb8974616bc58f44b2a3c3e4ca2326894ae42c8f.tar.gz
cpython-eb8974616bc58f44b2a3c3e4ca2326894ae42c8f.tar.bz2
bpo-15999: Always pass bool instead of int to the expat parser. (GH-15622)
Diffstat (limited to 'Lib/xmlrpc')
-rw-r--r--Lib/xmlrpc/client.py2
1 files changed, 1 insertions, 1 deletions
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 @@ class ExpatParser:
target.xml(encoding, None)
def feed(self, data):
- self._parser.Parse(data, 0)
+ self._parser.Parse(data, False)
def close(self):
try: