summaryrefslogtreecommitdiffstats
path: root/Lib/curses
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/curses')
-rw-r--r--Lib/curses/wrapper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/curses/wrapper.py b/Lib/curses/wrapper.py
index 0d004e0..5335204 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)