We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2800dcf commit 86bfed3Copy full SHA for 86bfed3
Lib/typing.py
@@ -509,7 +509,7 @@ def longest(x: A, y: A) -> A:
509
At runtime, isinstance(x, T) and issubclass(C, T) will raise TypeError.
510
511
Type variables defined with covariant=True or contravariant=True
512
- can be used do declare covariant or contravariant generic types.
+ can be used to declare covariant or contravariant generic types.
513
See PEP 484 for more details. By default generic types are invariant
514
in all type variables.
515
0 commit comments