Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2d88da2

Browse files
Clean up@deprecated spec (#2044)
1 parent3fc17d1 commit2d88da2

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)

[8]ページ先頭

©2009-2025 Movatter.jp