Skip to content

Commit f23d8ae

Browse files
committed
fixup! specify that type variable tuple should have variance
1 parent 39ae1b3 commit f23d8ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/spec/generics.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ Prior to 3.12, the ``ParamSpec`` constructor can be used.
678678
P = ParamSpec("WrongName") # Rejected because P =/= WrongName
679679
680680
The runtime should accept ``bound``\ s and ``covariant`` and ``contravariant``
681-
arguments in the declaration just as ``typing.TypeVar`` does, but for now we
681+
arguments in the declaration just as ``typing.TypeVar`` does, but for ``bound`` we
682682
will defer the standardization of the semantics of those options to a later PEP.
683683

684684
.. _`paramspec_valid_use_locations`:

0 commit comments

Comments
 (0)