Show More
@@ -550,7 +550,7 class Pdb(OldPdb): | |||||
550 | So if frame is self.current_frame we instead return self.curframe_locals |
|
550 | So if frame is self.current_frame we instead return self.curframe_locals | |
551 |
|
551 | |||
552 | """ |
|
552 | """ | |
553 |
if frame is self |
|
553 | if frame is getattr(self, "curframe", None): | |
554 | return self.curframe_locals |
|
554 | return self.curframe_locals | |
555 | else: |
|
555 | else: | |
556 | return frame.f_locals |
|
556 | return frame.f_locals |
General Comments 0
You need to be logged in to leave comments.
Login now