📜  python 默认参数依赖于其他参数 - Python 代码示例
📅  最后修改于: 2022-03-11 14:47:16.933000             🧑  作者: Mango
代码示例1
def func(n=5.0, delta=None): # other ways are not supported
if delta is None:
delta = n/10