From 1d663efea0c50722e371907201a03b7395f1f4e0 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Tue, 28 Nov 2023 18:43:36 -0800 Subject: [PATCH] Add to Whats New --- Doc/whatsnew/3.13.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst index d2e70eb936e52f..372e4a45468e68 100644 --- a/Doc/whatsnew/3.13.rst +++ b/Doc/whatsnew/3.13.rst @@ -353,7 +353,8 @@ warnings * The new :func:`warnings.deprecated` decorator provides a way to communicate deprecations to :term:`static type checkers ` and - to warn on usage of deprecated classes and functions. + to warn on usage of deprecated classes and functions. A runtime deprecation + warning may also be emitted when a decorated function or class is used at runtime. See :pep:`702`. (Contributed by Jelle Zijlstra in :gh:`104003`.) Optimizations