Ivan Levkivskyi <levkivskyi at gmail.com> added the comment: Here I think the behavior of typing.Callable is correct. ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue40494> _______________________________________