aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py3/IPython/core/debugger.py
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2025-01-04 15:53:08 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2025-01-04 16:07:11 +0300
commit0aaf156b641766ba2f26c5c54f2aa02016bb51f4 (patch)
tree4aefc952c87e1dc424ec9002f05412ce4b2b2598 /contrib/python/ipython/py3/IPython/core/debugger.py
parenta719ba289f03a96a2ad4e96605e57870e50a992b (diff)
downloadydb-0aaf156b641766ba2f26c5c54f2aa02016bb51f4.tar.gz
Intermediate changes
commit_hash:52e193336c733675186ea9e84a61825375cdab04
Diffstat (limited to 'contrib/python/ipython/py3/IPython/core/debugger.py')
-rw-r--r--contrib/python/ipython/py3/IPython/core/debugger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/python/ipython/py3/IPython/core/debugger.py b/contrib/python/ipython/py3/IPython/core/debugger.py
index 84d3de8c5b..e06bd56318 100644
--- a/contrib/python/ipython/py3/IPython/core/debugger.py
+++ b/contrib/python/ipython/py3/IPython/core/debugger.py
@@ -550,7 +550,7 @@ class Pdb(OldPdb):
So if frame is self.current_frame we instead return self.curframe_locals
"""
- if frame is self.curframe:
+ if frame is getattr(self, "curframe", None):
return self.curframe_locals
else:
return frame.f_locals