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

View File

@@ -155,7 +155,7 @@ def get_call_signature(funcdef, width=72, call_string=None):
else:
call_string = funcdef.name.value
if funcdef.type == 'lambdef':
p = '(' + ''.join(param.get_code() for param in funcdef.params).strip() + ')'
p = '(' + ''.join(param.get_code() for param in funcdef.get_params()).strip() + ')'
else:
p = funcdef.children[2].get_code()
code = call_string + p