diff options
-rw-r--r-- | Tools/idle/IOBinding.py | 1 | ||||
-rw-r--r-- | Tools/idle/PyShell.py | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/Tools/idle/IOBinding.py b/Tools/idle/IOBinding.py index fd8aaf6..8d654b9 100644 --- a/Tools/idle/IOBinding.py +++ b/Tools/idle/IOBinding.py @@ -276,7 +276,6 @@ class IOBinding: return "break" def print_window(self, event): - tempfilename = None if self.get_saved(): filename = self.filename else: diff --git a/Tools/idle/PyShell.py b/Tools/idle/PyShell.py index 7fd28eb..2eaf936 100644 --- a/Tools/idle/PyShell.py +++ b/Tools/idle/PyShell.py @@ -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) |