summaryrefslogtreecommitdiff
path: root/Lib/curses/wrapper.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-08-02 19:44:48 +0000
committerGeorg Brandl <georg@python.org>2010-08-02 19:44:48 +0000
commit07b90caed4c45e6f17ac8952fb72f548669fed3d (patch)
tree97aaf7314aa86af7786c5db561a9d357d7d29833 /Lib/curses/wrapper.py
parent0abcbd7a243745ee4efc0164c920bde07ffb4f9a (diff)
downloadcpython-git-07b90caed4c45e6f17ac8952fb72f548669fed3d.tar.gz
#8861: remove unused variable.
Diffstat (limited to 'Lib/curses/wrapper.py')
-rw-r--r--Lib/curses/wrapper.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/curses/wrapper.py b/Lib/curses/wrapper.py
index 9f1d86785d..3cdaa82d0a 100644
--- a/Lib/curses/wrapper.py
+++ b/Lib/curses/wrapper.py
@@ -17,10 +17,9 @@ def wrapper(func, *args, **kwds):
wrapper().
"""
- res = None
try:
# Initialize curses
- stdscr=curses.initscr()
+ stdscr = curses.initscr()
# Turn off echoing of keys, and enter cbreak mode,
# where no buffering is performed on keyboard input