mirror of
https://github.com/python/cpython.git
synced 2025-07-19 09:15:34 +00:00
Idlelib: forward port changes that silenced 2.7 -3 deprecation warnings and
which are at least as efficient. On Py3, unpacking exceptions never works.
This commit is contained in:
parent
c369c2c688
commit
1e40295af6
2 changed files with 4 additions and 7 deletions
|
@ -254,8 +254,7 @@ class Debugger:
|
|||
self.sync_source_line()
|
||||
|
||||
def show_frame(self, stackitem):
|
||||
frame, lineno = stackitem
|
||||
self.frame = frame
|
||||
self.frame = stackitem[0] # lineno is stackitem[1]
|
||||
self.show_variables()
|
||||
|
||||
localsviewer = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue