how to pass a function into a class python code example
Example: python function that takes a function
def myfunc(anotherfunc, extraArgs):
anotherfunc(*extraArgs)
def myfunc(anotherfunc, extraArgs):
anotherfunc(*extraArgs)