summaryrefslogtreecommitdiff
path: root/Lib/curses
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-04-06 09:01:11 +0000
committerRaymond Hettinger <python@rcn.com>2003-04-06 09:01:11 +0000
commitc3e3ebb9315605c5f59d28a77afd76641c32c554 (patch)
tree9d73ce5c4e7cecd5867e9c3fe6b7813735dea511 /Lib/curses
parentb8d2c2e3e87fa666e6555e8b20c1c731eaf8af4e (diff)
downloadcpython-c3e3ebb9315605c5f59d28a77afd76641c32c554.tar.gz
SF patch #701494: more apply removals
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 e725c5a72c..b8905fbf0a 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.