Skip to content

Commit 2e94f14

Browse files
authored
gh-145521: Add 'infer_variance' parameter to ParamSpec class (#145522)
1 parent 4144062 commit 2e94f14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/typing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2156,7 +2156,7 @@ without the dedicated syntax, as documented below.
21562156
Added support for the ``bound``, ``covariant``, ``contravariant``, and
21572157
``infer_variance`` parameters.
21582158

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

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

0 commit comments

Comments
 (0)