mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Remove apply()
This commit is contained in:
parent
fe55464f39
commit
d91085598f
56 changed files with 179 additions and 285 deletions
|
@ -162,7 +162,7 @@ def make_archive (base_name, format,
|
|||
func = format_info[0]
|
||||
for (arg,val) in format_info[1]:
|
||||
kwargs[arg] = val
|
||||
filename = apply(func, (base_name, base_dir), kwargs)
|
||||
filename = func(base_name, base_dir, **kwargs)
|
||||
|
||||
if root_dir is not None:
|
||||
log.debug("changing back to '%s'", save_cwd)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue