[Python-checkins] bpo-46560: Fix a typo in `typing.ParamSpec's` doc string (GH-30995)
Fidget-Spinner
webhook-mailer at python.org
Fri Jan 28 13:08:15 EST 2022
https://github.com/python/cpython/commit/ffa505b580464d9d90c29e69bd4db8c52275280a
commit: ffa505b580464d9d90c29e69bd4db8c52275280a
branch: main
author: Zackery Spytz <zspytz at gmail.com>
committer: Fidget-Spinner <28750310+Fidget-Spinner at users.noreply.github.com>
date: 2022-01-29T02:08:11+08:00
summary:
bpo-46560: Fix a typo in `typing.ParamSpec's` doc string (GH-30995)
files:
M Lib/typing.py
diff --git a/Lib/typing.py b/Lib/typing.py
index 232aa1a50d2e5..dac9c6c4f87cf 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::
More information about the Python-checkins
mailing list