diff options
Diffstat (limited to 'Lib/curses')
-rw-r--r-- | Lib/curses/wrapper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/curses/wrapper.py b/Lib/curses/wrapper.py index e725c5a..b8905fb 100644 --- a/Lib/curses/wrapper.py +++ b/Lib/curses/wrapper.py @@ -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. |