mirror of
https://github.com/snowykami/mbcp.git
synced 2024-11-22 06:07:37 +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:
|
||||
ValueError: 无效变量类型
|
||||
"""
|
||||
# 内部函数不注释,以防止生成文档
|
||||
if isinstance(var, int):
|
||||
def partial_derivative_func(*args: Var) -> Var:
|
||||
args_list_plus = list(args)
|
||||
|
Loading…
Reference in New Issue
Block a user