From: Georg Brandl Date: Mon, 2 Aug 2010 19:44:48 +0000 (+0000) Subject: #8861: remove unused variable. X-Git-Tag: v3.2a2~526 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=07b90caed4c45e6f17ac8952fb72f548669fed3d;p=python #8861: remove unused variable. --- 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