1
0
forked from VimPlug/jedi

In parso params is now get_params().

This commit is contained in:
Dave Halter
2017-08-06 17:35:05 +02:00
parent 39cbd003c0
commit ff001e07a6
5 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ def py__annotations__(funcdef):
dct = {'return': return_annotation}
else:
dct = {}
for function_param in funcdef.params:
for function_param in funcdef.get_params():
param_annotation = function_param.annotation
if param_annotation is not None:
dct[function_param.name.value] = param_annotation