]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-46560: Fix a typo in `typing.ParamSpec's` doc string (GH-30995)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 28 Jan 2022 18:36:16 +0000 (10:36 -0800)
committerGitHub <noreply@github.com>
Fri, 28 Jan 2022 18:36:16 +0000 (10:36 -0800)
(cherry picked from commit ffa505b580464d9d90c29e69bd4db8c52275280a)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Lib/typing.py

index 0ea389da3a17d4769403f0c60c91aa81ba3d5e81..abd5899806f290dfccedf9ce623bc946a9146030 100644 (file)
@@ -861,7 +861,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::