Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2015-07-22 11:20:45 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2015-07-22 11:31:31 +0300
commitec8b7edf536a5fc9c74fc84b1b70a48763fc81e7 (patch)
treee5f13279a5b619ca5da68cb9d76e421840b3a489 /doc
parente3461a02ac3617ee50a60601ed277b0cb65459ce (diff)
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
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/sphinx_doc_gen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py
index 32776ef29f3..05ea0d0502d 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"