I have the function
def foo(bar):
return bar(var1, var2)
where bar
is a function that takes two variables named var1
and var2
and returns an str
obj, what is the proper numpydocs way to document this?
I thought of something like:
def foo(bar):
"""
...
Parameters
-----------
bar: func(var1: list[str], var2: str) -> str
"""
return bar(var1, var2)