Replies: 1 comment
-
Use a callback protocol: https://mypy.readthedocs.io/en/stable/protocols.html#callback-protocols |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a list that will be traversed and call function in it by named argument.
It supports multiple parameter forms of function.
How do i annotate
func_list
to tell others what it supportsBeta Was this translation helpful? Give feedback.
All reactions