提交 cd11b1bd 编写于 作者: Y yangyaming

Set default value of y to None.

上级 869a6f9c
...@@ -3295,7 +3295,7 @@ def autoincreased_step_counter(counter_name=None, begin=1, step=1): ...@@ -3295,7 +3295,7 @@ def autoincreased_step_counter(counter_name=None, begin=1, step=1):
return counter return counter
def lod_reset(x, y, target_lod=None): def lod_reset(x, y=None, target_lod=None):
""" """
LoD Reset Operator. Set LoD of **x** to a new one specified by **y** or LoD Reset Operator. Set LoD of **x** to a new one specified by **y** or
**target_lod**. When **y** provided, **y.lod** would be considered as target **target_lod**. When **y** provided, **y.lod** would be considered as target
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册