Message367327
| Author |
levkivskyi |
| Recipients |
gvanrossum, levkivskyi, serhiy.storchaka |
| Date |
2020年04月26日.18:38:25 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1587926305.46.0.498963540866.issue40398@roundup.psfhosted.org> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|