mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
SF patch #701494: more apply removals
This commit is contained in:
parent
50c61d5a6c
commit
ff41c48a77
23 changed files with 2437 additions and 2449 deletions
|
@ -41,7 +41,7 @@ def wrapper(func, *rest):
|
|||
except:
|
||||
pass
|
||||
|
||||
res = apply(func, (stdscr,) + rest)
|
||||
res = func(stdscr, *rest)
|
||||
except:
|
||||
# In the event of an error, restore the terminal
|
||||
# to a sane state.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue