diff options
author | Raymond Hettinger <python@rcn.com> | 2003-04-06 09:01:11 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-04-06 09:01:11 (GMT) |
commit | ff41c48a77b7d1411ce97190c8b8405bdaa261e1 (patch) | |
tree | 94763135f421e0c32c6356e083c4d3521e43cd67 /Lib/xml | |
parent | 50c61d5a6c2c551b31270d78b9e53ccef3fdf7a8 (diff) | |
download | cpython-ff41c48a77b7d1411ce97190c8b8405bdaa261e1.zip cpython-ff41c48a77b7d1411ce97190c8b8405bdaa261e1.tar.gz cpython-ff41c48a77b7d1411ce97190c8b8405bdaa261e1.tar.bz2 |
SF patch #701494: more apply removals
Diffstat (limited to 'Lib/xml')
-rw-r--r-- | Lib/xml/dom/minidom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/xml/dom/minidom.py b/Lib/xml/dom/minidom.py index 2ec4325..a5ebe5f 100644 --- a/Lib/xml/dom/minidom.py +++ b/Lib/xml/dom/minidom.py @@ -1902,7 +1902,7 @@ def _get_StringIO(): return StringIO() def _do_pulldom_parse(func, args, kwargs): - events = apply(func, args, kwargs) + events = func(*args, **kwargs) toktype, rootNode = events.getEvent() events.expandNode(rootNode) events.clear() @@ -1915,7 +1915,7 @@ def parse(file, parser=None, bufsize=None): return expatbuilder.parse(file) else: from xml.dom import pulldom - return _do_pulldom_parse(pulldom.parse, (file,), + return _do_pulldom_parse(pulldom.parse, (file,), {'parser': parser, 'bufsize': bufsize}) def parseString(string, parser=None): |