]> granicus.if.org Git - python/commitdiff
Somehow (no idea how!) I missed half of patch #1005008. Sorry about that.
authorMichael W. Hudson <mwh@python.net>
Sat, 7 Aug 2004 15:20:15 +0000 (15:20 +0000)
committerMichael W. Hudson <mwh@python.net>
Sat, 7 Aug 2004 15:20:15 +0000 (15:20 +0000)
Lib/curses/wrapper.py

index 0d004e030215ef57151d696dd088302ffbe0b6c1..53352041e9a62c0724e0338ace49877c69d920e7 100644 (file)
@@ -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)