mirror of
https://github.com/snowykami/mbcp.git
synced 2024-11-26 00:05:04 +08:00
🐛 修复文档展示私有对象
This commit is contained in:
parent
a6ddc8e5bd
commit
4df41a16f5
@ -57,6 +57,7 @@ def get_partial_derivative_func(func: MultiVarsFunc, var: int | tuple[int, ...],
|
|||||||
Raises:
|
Raises:
|
||||||
ValueError: 无效变量类型
|
ValueError: 无效变量类型
|
||||||
"""
|
"""
|
||||||
|
# 内部函数不注释,以防止生成文档
|
||||||
if isinstance(var, int):
|
if isinstance(var, int):
|
||||||
def partial_derivative_func(*args: Var) -> Var:
|
def partial_derivative_func(*args: Var) -> Var:
|
||||||
args_list_plus = list(args)
|
args_list_plus = list(args)
|
||||||
|
Loading…
Reference in New Issue
Block a user