summaryrefslogtreecommitdiffstats
path: root/Lib/curses
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-04-06 09:01:11 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-04-06 09:01:11 (GMT)
commitff41c48a77b7d1411ce97190c8b8405bdaa261e1 (patch)
tree94763135f421e0c32c6356e083c4d3521e43cd67 /Lib/curses
parent50c61d5a6c2c551b31270d78b9e53ccef3fdf7a8 (diff)
downloadcpython-ff41c48a77b7d1411ce97190c8b8405bdaa261e1.zip
cpython-ff41c48a77b7d1411ce97190c8b8405bdaa261e1.tar.gz
cpython-ff41c48a77b7d1411ce97190c8b8405bdaa261e1.tar.bz2
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 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.