mirror of https://github.com/python/cpython
Remove unused local variables
This commit is contained in:
parent
a59ab05fda
commit
089061f7f0
|
@ -276,7 +276,6 @@ class IOBinding:
|
|||
return "break"
|
||||
|
||||
def print_window(self, event):
|
||||
tempfilename = None
|
||||
if self.get_saved():
|
||||
filename = self.filename
|
||||
else:
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue