mirror of https://github.com/python/cpython.git
bpo-46560: Fix a typo in `typing.ParamSpec's` doc string (GH-30995)
This commit is contained in:
parent
5445e173e7
commit
ffa505b580
|
@ -867,7 +867,7 @@ class ParamSpec(_Final, _Immutable, _TypeVarLike, _root=True):
|
|||
type checkers. They are used to forward the parameter types of one
|
||||
callable to another callable, a pattern commonly found in higher order
|
||||
functions and decorators. They are only valid when used in ``Concatenate``,
|
||||
or s the first argument to ``Callable``, or as parameters for user-defined
|
||||
or as the first argument to ``Callable``, or as parameters for user-defined
|
||||
Generics. See class Generic for more information on generic types. An
|
||||
example for annotating a decorator::
|
||||
|
||||
|
|
Loading…
Reference in New Issue