Ivan Levkivskyi <levkivs...@gmail.com> added the comment:
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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40398> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com