Skip to content

Commit 2d785df

Browse files
Correct note about --disallow-any-generics flag in docs (#18055)
Co-authored-by: Jelle Zijlstra <[email protected]>
1 parent a706914 commit 2d785df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/dynamic_typing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ treated as ``Any``:
8686
reveal_type(x[0]) # Revealed type is "Any"
8787
x[0].anything_goes() # OK
8888
89-
You can make mypy warn you about untyped function parameters using the
89+
You can make mypy warn you about missing generic parameters using the
9090
:option:`--disallow-any-generics <mypy --disallow-any-generics>` flag.
9191

9292
Finally, another major source of ``Any`` types leaking into your program is from

0 commit comments

Comments
 (0)