mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
bpo-15999: Always pass bool instead of int to the expat parser. (GH-15622)
This commit is contained in:
parent
41c57b3353
commit
eb8974616b
5 changed files with 36 additions and 36 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue