Message367327
I think it should return empty tuple: First, for consistency with other things like get_args(Tuple) == () and get_args(List) == (). Second, although Callable is equivalent to Callable[..., Any] in the static world, authors of some runtime checkers might want to distinguish whether a user wrote one or another. |
|
Date |
User |
Action |
Args |
2020-04-26 18:38:25 | levkivskyi | set | recipients:
+ levkivskyi, gvanrossum, serhiy.storchaka |
2020-04-26 18:38:25 | levkivskyi | set | messageid: <1587926305.46.0.498963540866.issue40398@roundup.psfhosted.org> |
2020-04-26 18:38:25 | levkivskyi | link | issue40398 messages |
2020-04-26 18:38:25 | levkivskyi | create | |
|