]> granicus.if.org Git - python/commitdiff
Remove unused local variables
authorNeal Norwitz <nnorwitz@gmail.com>
Thu, 12 Sep 2002 20:34:41 +0000 (20:34 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Thu, 12 Sep 2002 20:34:41 +0000 (20:34 +0000)
Tools/idle/IOBinding.py
Tools/idle/PyShell.py

index fd8aaf624fb8a59719c17a99eb3e689f624d9096..8d654b9aec9454c012e0bf904bd007331f3dda17 100644 (file)
@@ -276,7 +276,6 @@ class IOBinding:
         return "break"
 
     def print_window(self, event):
-        tempfilename = None
         if self.get_saved():
             filename = self.filename
         else:
index 7fd28eba21a7c04ba56589d9f3affcadd58c4417..2eaf93623be4736654684a66e956f93d23f378a8 100644 (file)
@@ -250,7 +250,6 @@ class ModifiedInterpreter(InteractiveInterpreter):
 
     def showtraceback(self):
         # Extend base class method to reset output properly
-        text = self.tkconsole.text
         self.tkconsole.resetoutput()
         self.checklinecache()
         InteractiveInterpreter.showtraceback(self)