diff --git a/Lib/curses/wrapper.py b/Lib/curses/wrapper.py index 0d004e03021..53352041e9a 100644 --- a/Lib/curses/wrapper.py +++ b/Lib/curses/wrapper.py @@ -41,7 +41,7 @@ def wrapper(func, *args, **kwds): except: pass - return func(stdscr, *rest) + return func(stdscr, *args, **kwds) finally: # Set everything back to normal stdscr.keypad(0)