diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-13 09:35:09 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-13 09:35:09 +0300 |
commit | 1c2358224f400bc503be116dbddd9312c1b1c914 (patch) | |
tree | 5e97156311787ad6c8d57460661c6a6338d61f9e /doc | |
parent | 0a23d39b9f66731f123387324bf1402ffdc4d2c0 (diff) | |
parent | c062d360caeb311865e1584baa4cf4d218b094d3 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'doc')
-rw-r--r-- | doc/python_api/sphinx_doc_gen.py | 2 |
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 edfa2c4a95b..1a39ba0d02a 100644 --- a/doc/python_api/sphinx_doc_gen.py +++ b/doc/python_api/sphinx_doc_gen.py @@ -642,7 +642,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.getfullargspec(py_func)) + arg_str = str(inspect.signature(py_func)) if not is_class: func_type = "function" |