Skip to content

Commit c2672e3

Browse files
committed
tweak deprecation message
1 parent 38ce56f commit c2672e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

stdlib/pdb.pyi

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ class Pdb(Bdb, Cmd):
6565
@deprecated("The frame locals reference is no longer cached. Use 'curframe.f_locals' instead.")
6666
def curframe_locals(self) -> Mapping[str, Any]: ...
6767
@curframe_locals.setter
68-
@deprecated("Setting 'curframe_locals' no longer has any effect. Update the contents of 'curframe.f_locals' instead.")
68+
@deprecated(
69+
"Setting 'curframe_locals' no longer has any effect as of 3.14. Update the contents of 'curframe.f_locals' instead."
70+
)
6971
def curframe_locals(self, value: Mapping[str, Any]) -> None: ...
7072
else:
7173
curframe_locals: Mapping[str, Any]

0 commit comments

Comments
 (0)