Python 3 -> 是函数注释的一部分,表示函数返回值的类型。 def useful_function(x) -> int: # Useful code, using x, here return x