Skip to content

Commit 5cbcac4

Browse files
committed
Rephrase a bit of the spec
1 parent 6ce8087 commit 5cbcac4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/spec/directives.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ other comments and linting markers:
7373

7474
# type: ignore # <comment or other marker>
7575

76-
Text following ``# type: ignore`` must be ignored, provided there is at
77-
least one whitespace character after it::
76+
Text following ``# type: ignore - some text`` is equivalent to
77+
``type: ignore``, provided there is at least one whitespace character after it::
7878

7979
# Not valid because of the "d" after ignore; does not supress the type error
8080
s: str = 1 # type: ignored

0 commit comments

Comments
 (0)