diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-13 09:33:34 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-13 09:33:34 +0300 |
commit | c062d360caeb311865e1584baa4cf4d218b094d3 (patch) | |
tree | 792776601d756e67ab28e218a5e8dc837c052a28 /doc/python_api | |
parent | 99e06af9c8c2d2c92570796f76baefd405a3b67a (diff) |
PyDoc: replace use of deprecated API call
Diffstat (limited to 'doc/python_api')
-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 0eb2ebefe32..3fdd2b2c92b 100644 --- a/doc/python_api/sphinx_doc_gen.py +++ b/doc/python_api/sphinx_doc_gen.py @@ -685,7 +685,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" |