diff options
author | Zackery Spytz <zspytz@gmail.com> | 2022-01-28 18:08:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-28 18:08:11 (GMT) |
commit | ffa505b580464d9d90c29e69bd4db8c52275280a (patch) | |
tree | fcd27337171dd093e80d26db0f58514ad4bbda80 /Lib/typing.py | |
parent | 5445e173e76ec792358082caf660fbdc846c64b2 (diff) | |
download | cpython-ffa505b580464d9d90c29e69bd4db8c52275280a.zip cpython-ffa505b580464d9d90c29e69bd4db8c52275280a.tar.gz cpython-ffa505b580464d9d90c29e69bd4db8c52275280a.tar.bz2 |
bpo-46560: Fix a typo in `typing.ParamSpec's` doc string (GH-30995)
Diffstat (limited to 'Lib/typing.py')
-rw-r--r-- | Lib/typing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/typing.py b/Lib/typing.py index 232aa1a..dac9c6c 100644 --- a/Lib/typing.py +++ b/Lib/typing.py @@ -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:: |