Skip to content

Commit cc66f83

Browse files
Apply suggestions from code review
Co-authored-by: Alyssa Coghlan <[email protected]>
1 parent 6741706 commit cc66f83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/pdb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,12 +420,12 @@ def setup(self, f, tb):
420420
self.rcLines = []
421421

422422
@property
423-
@deprecated('Use curframe.f_locals instead')
423+
@deprecated("The frame locals reference is no longer cached. Use 'curframe.f_locals' instead.")
424424
def curframe_locals(self):
425425
return self.curframe.f_locals
426426

427427
@curframe_locals.setter
428-
@deprecated('Use curframe.f_locals instead')
428+
@deprecated("Setting 'curframe_locals' no longer has any effect. Update the contents of 'curframe.f_locals' instead.")
429429
def curframe_locals(self, value):
430430
pass
431431

0 commit comments

Comments
 (0)