This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:25levkivskyisetrecipients: + levkivskyi, gvanrossum, serhiy.storchaka
2020-04-26 18:38:25levkivskyisetmessageid: <1587926305.46.0.498963540866.issue40398@roundup.psfhosted.org>
2020-04-26 18:38:25levkivskyilinkissue40398 messages
2020-04-26 18:38:25levkivskyicreate