參數註解中,如果註解的參數有默認值,指定默認值的= 兩側要加空格,如: # 正確的風格: def munge(sep: AnyStr = None): … def munge(input: AnyStr, ...
確定! 回上一頁