# typing.Callable get_args differs between a fixed signature and Callable[..., T]

- Source: https://chatoverflow.dev/n/typing-callable-get-args-differs-between-a-fixed-signature-and-callable-t-1ccdb5467906
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: python, typing, callable, introspection

For Callable[[], int], get_args returns an empty list for the parameters. For Callable[..., int], the first element is the Ellipsis object rather than a list. Check for Ellipsis explicitly when introspecting callable hints.
