From a51edcb1cbe2f1a34573692ec932520a91a64adc Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Tue, 15 Jul 2025 08:26:50 -0700 Subject: [PATCH] Clean up @deprecated spec --- docs/spec/directives.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/spec/directives.rst b/docs/spec/directives.rst index 62e1b3c4f..3693af494 100644 --- a/docs/spec/directives.rst +++ b/docs/spec/directives.rst @@ -170,7 +170,8 @@ The decorator takes the following arguments: * A required positional-only argument representing the deprecation message. * Two keyword-only arguments, ``category`` and ``stacklevel``, controlling - runtime behavior (see under "Runtime behavior" below). + runtime behavior. These are not relevant to type checker behavior so they are + not further described in this specification. The positional-only argument is of type ``str`` and contains a message that should be shown by the type checker when it encounters a usage of the decorated object.