📜  python 3 使用默认值定义参数类型 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:28.064000             🧑  作者: Mango

代码示例1
def foo(opts: dict = {}):
    pass

print(foo.__annotations__)