To write a maintainable code, it's a good practice to specify the input and output types as below.
def hash_a(item: object, x: int, y: int) -> int:
return x + y
My question is how we can specify function type as the input type ? For an example,
def hash_a(funct: object, x: int, y: int) -> int:
"""
funct : is a fuction
"""
return x + y