PyDoc: replace use of deprecated API call

This commit is contained in:
Campbell Barton 2018-09-13 16:33:34 +10:00
parent 99e06af9c8
commit c062d360ca

@ -685,7 +685,7 @@ def pyfunc2sphinx(ident, fw, module_name, type_name, identifier, py_func, is_cla
if type(py_func) == MethodType: if type(py_func) == MethodType:
return return
arg_str = inspect.formatargspec(*inspect.getfullargspec(py_func)) arg_str = str(inspect.signature(py_func))
if not is_class: if not is_class:
func_type = "function" func_type = "function"