diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-09-12 20:34:41 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-09-12 20:34:41 (GMT) |
commit | 089061f7f0b585910854e31e3aafbf941172e746 (patch) | |
tree | 634e96787d82e3dce23e908f3dc479cc71990672 | |
parent | a59ab05fda5000fcb37b2202b8bb866b8d92b806 (diff) | |
download | cpython-089061f7f0b585910854e31e3aafbf941172e746.zip cpython-089061f7f0b585910854e31e3aafbf941172e746.tar.gz cpython-089061f7f0b585910854e31e3aafbf941172e746.tar.bz2 |
Remove unused local variables
-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) |