Skip to content

Commit 4f74025

Browse files
authored
Add 'infer_variance' parameter to ParamSpec class
1 parent 8b54313 commit 4f74025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/typing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2127,7 +2127,7 @@ without the dedicated syntax, as documented below.
21272127

21282128
Support for default values was added.
21292129

2130-
.. class:: ParamSpec(name, *, bound=None, covariant=False, contravariant=False, default=typing.NoDefault)
2130+
.. class:: ParamSpec(name, *, bound=None, covariant=False, contravariant=False, infer_variance=False, default=typing.NoDefault)
21312131

21322132
Parameter specification variable. A specialized version of
21332133
:ref:`type variables <typevar>`.

0 commit comments

Comments
 (0)