返回另一个函数“->”符号的函数

What is the -> symbol for returning a function from another function?

def OneFunc(x) -> def:
    return AnotherFunc

Does not seem to work, neither function or func ..