Answers for "function as parameter tpye hinting python"

0

function as parameter tpye hinting python

from typing import AnyStr, Callable

def my_function(name: AnyStr, func: Callable[[ParamType1, ParamType2, .., ParamTypeN], ReturnType]
) -> None:
	...
Posted by: Guest on July-23-2021

Code answers related to "function as parameter tpye hinting python"

Python Answers by Framework

Browse Popular Code Answers by Language