]> granicus.if.org Git - python/commitdiff
#8861: remove unused variable.
authorGeorg Brandl <georg@python.org>
Mon, 2 Aug 2010 19:44:48 +0000 (19:44 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 2 Aug 2010 19:44:48 +0000 (19:44 +0000)
Lib/curses/wrapper.py

index 9f1d86785dbf1bad2734bd14658a768045719772..3cdaa82d0a856e2b18b480ffbaee646af77ebe73 100644 (file)
@@ -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