Correct typo in typing.py (GH-100423)

In the docstring of `ParamSpec`, the name of `P = ParamSpec('P')` was
mistakenly written as `'T'`.
(cherry picked from commit 68981578ec)

Co-authored-by: david-why <david_why@outlook.com>
This commit is contained in:
Miss Islington (bot) 2022-12-22 03:49:18 -08:00 committed by GitHub
parent 3e715e0cc8
commit 6afc389e1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1174,7 +1174,7 @@ class ParamSpec(_Final, _Immutable, _BoundVarianceMixin, _PickleUsingNameMixin,
Parameter specification variables can be introspected. e.g.:
P.__name__ == 'T'
P.__name__ == 'P'
P.__bound__ == None
P.__covariant__ == False
P.__contravariant__ == False