Skip to content

Commit 2d88da2

Browse files
Clean up @deprecated spec (#2044)
1 parent 3fc17d1 commit 2d88da2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/spec/directives.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,8 @@ The decorator takes the following arguments:
170170

171171
* A required positional-only argument representing the deprecation message.
172172
* Two keyword-only arguments, ``category`` and ``stacklevel``, controlling
173-
runtime behavior (see under "Runtime behavior" below).
173+
runtime behavior. These are not relevant to type checker behavior so they are
174+
not further described in this specification.
174175

175176
The positional-only argument is of type ``str`` and contains a message that should
176177
be shown by the type checker when it encounters a usage of the decorated object.

0 commit comments

Comments
 (0)