Commit: ec8b7edf536a5fc9c74fc84b1b70a48763fc81e7 Author: Sybren A. Stüvel Date: Wed Jul 22 10:20:45 2015 +0200 Branches: master https://developer.blender.org/rBec8b7edf536a5fc9c74fc84b1b70a48763fc81e7
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 =================================================================== M doc/python_api/sphinx_doc_gen.py =================================================================== diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py index 32776ef..05ea0d0 100644 --- a/doc/python_api/sphinx_doc_gen.py +++ b/doc/python_api/sphinx_doc_gen.py @@ -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" _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs