Skip to content

Callable allows variadic args #2162

Description

@JelleZijlstra

The spec claims "The Callable form provides no way to specify keyword-only parameters, variadic parameters, or default argument values."

In fact, PEP-646 syntax allows spelling a Callable type with variadic positional arguments, as specified here. We should edit the spec to clarify this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions