forked from bartvdbraak/blender
Fix: solved issue with "make doc_py"
The error was "ValueError: Function <function normal_at_I0D at 0x7f2aad1feb70> has keyword-only arguments or annotations, use getfullargspec() API which can support them", and was first seen in eeeb845d33e81afbc8ed127e6ab4ae7b18472a54
This commit is contained in:
parent
e3461a02ac
commit
ec8b7edf53
@ -631,7 +631,7 @@ def pyfunc2sphinx(ident, fw, module_name, type_name, identifier, py_func, is_cla
|
||||
if type(py_func) == MethodType:
|
||||
return
|
||||
|
||||
arg_str = inspect.formatargspec(*inspect.getargspec(py_func))
|
||||
arg_str = inspect.formatargspec(*inspect.getfullargspec(py_func))
|
||||
|
||||
if not is_class:
|
||||
func_type = "function"
|
||||
|
Loading…
Reference in New Issue
Block a user