1
0
forked from VimPlug/jedi

Trying to get the NameFinder to use only NameParts.

This commit is contained in:
Dave Halter
2014-09-10 16:20:30 +02:00
parent 43cf1d451f
commit 657a2c7d4f
4 changed files with 11 additions and 3 deletions

View File

@@ -359,6 +359,8 @@ def _gen_param_name_copy(func, var_args, param, keys=(), values=(), array_type=N
new_param.set_expression_list([arr])
name = copy.copy(param.get_name())
name.names = [copy.copy(name.names[0])]
name.names[0].parent = name
name.parent = new_param
return name