[issue46560] ParamSpec: Typo in doc string

Evan report at bugs.python.org
Thu Jan 27 22:19:28 EST 2022


New submission from Evan <Evan.Schalton at Gmail.com>:

Apologies if this is pedantic; in the typing.py file the ParamSpec's doc string says:

"They are only valid when used in ``Concatenate``,
    or s the first argument to ``Callable``"

I believe it should be:

"They are only valid when used in ``Concatenate``,
    or as the first argument to ``Callable``"

s -> as

----------
messages: 411970
nosy: ESchalton
priority: normal
severity: normal
status: open
title: ParamSpec: Typo in doc string
type: behavior
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46560>
_______________________________________


More information about the Python-bugs-list mailing list