提交 980844e9 编写于 作者: HansBug's avatar HansBug 😆

dev(hansbug): exclude out in default condition and determine

上级 003eefaa
......@@ -39,11 +39,13 @@ def post_reduce(rfunc=None, prefunc=None):
return _decorator
def _default_auto_determine(*args, **kwargs):
# noinspection PyUnusedLocal
def _default_auto_determine(*args, out=None, **kwargs):
return False if args or kwargs else None
def _default_auto_condition(*args, **kwargs):
# noinspection PyUnusedLocal
def _default_auto_condition(*args, out=None, **kwargs):
return not args and not kwargs
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册