This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: ParamSpec: Typo in doc string
Type: behavior Stage: resolved
Components: Documentation Versions: Python 3.11, Python 3.10
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: ESchalton, JelleZijlstra, ZackerySpytz, docs@python, kj, miss-islington
Priority: normal Keywords: patch

Created on 2022-01-28 03:19 by ESchalton, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 30995 merged ZackerySpytz, 2022-01-28 17:24
PR 30996 merged miss-islington, 2022-01-28 18:08
Messages (5)
msg411970 - (view) Author: Evan (ESchalton) Date: 2022-01-28 03:19
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
msg411973 - (view) Author: Jelle Zijlstra (JelleZijlstra) * (Python committer) Date: 2022-01-28 04:17
Thanks for noticing! Would you like to submit a PR to fix it?
msg412020 - (view) Author: Ken Jin (kj) * (Python committer) Date: 2022-01-28 18:08
New changeset ffa505b580464d9d90c29e69bd4db8c52275280a by Zackery Spytz in branch 'main':
bpo-46560: Fix a typo in `typing.ParamSpec's` doc string (GH-30995)
https://github.com/python/cpython/commit/ffa505b580464d9d90c29e69bd4db8c52275280a
msg412022 - (view) Author: miss-islington (miss-islington) Date: 2022-01-28 18:36
New changeset 315a60acd14dd730b2081574c09ccc29e92ee687 by Miss Islington (bot) in branch '3.10':
bpo-46560: Fix a typo in `typing.ParamSpec's` doc string (GH-30995)
https://github.com/python/cpython/commit/315a60acd14dd730b2081574c09ccc29e92ee687
msg412023 - (view) Author: Ken Jin (kj) * (Python committer) Date: 2022-01-28 18:40
Thanks for the fix Zackery.
History
Date User Action Args
2022-04-11 14:59:55adminsetgithub: 90718
2022-01-28 18:40:04kjsetstatus: open -> closed
resolution: fixed
messages: + msg412023

stage: patch review -> resolved
2022-01-28 18:36:25miss-islingtonsetmessages: + msg412022
2022-01-28 18:08:20miss-islingtonsetnosy: + miss-islington
pull_requests: + pull_request29177
2022-01-28 18:08:14kjsetnosy: + kj
messages: + msg412020
2022-01-28 17:24:25ZackerySpytzsetkeywords: + patch
nosy: + ZackerySpytz

pull_requests: + pull_request29176
stage: needs patch -> patch review
2022-01-28 10:13:57AlexWaygoodsetversions: + Python 3.11
nosy: + docs@python

assignee: docs@python
components: + Documentation
stage: needs patch
2022-01-28 04:17:20JelleZijlstrasetnosy: + JelleZijlstra
messages: + msg411973
2022-01-28 03:19:28ESchaltoncreate