Skip to content

Conversation

@sandole
Copy link

@sandole sandole commented Dec 29, 2025

Type checkers (mypy and pyright) require ParamSpec defaults to use list syntax, not tuple syntax. Updated the docstring examples to use [int, str] instead of (int, str) to match the typing specification and avoid misleading users.

…f tuple

Type checkers (mypy and pyright) require ParamSpec defaults to use
list syntax, not tuple syntax. Updated the docstring examples to
use [int, str] instead of (int, str) to match the typing specification
and avoid misleading users.
@bedevere-app
Copy link

bedevere-app bot commented Dec 29, 2025

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@aisk
Copy link
Contributor

aisk commented Dec 29, 2025

There is already an open PR (#143179) with the same change as the one made in this PR. Please avoid this kind of unnecessary work in the future.

@picnixz picnixz closed this Dec 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants