Skip to content

Conversation

@Daraan
Copy link
Contributor

@Daraan Daraan commented Jan 28, 2026

As @JelleZijlstra noted here the current notion of

The Callable form provides no way to specify [...] variadic parameters [...]

is not correct as we can express variadic positional parameters with an unpacked tuple, e.g. Callable[[*tuple[int, ...]], str].
This PR adds clarification for this case.

I've removed the notion about variadics completely in that paragraph, an alternative would be

no way to specify keyword-only parameters, variadic keyword-only parameters, or ..."

which feels redundant. Feel free to share other suggestions

@carljm carljm requested a review from JelleZijlstra January 28, 2026 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants