forked from VimPlug/jedi
get rid of set_vars class var in statement and define a wrapper for it, because it's still used
This commit is contained in:
@@ -215,7 +215,7 @@ class Parser(object):
|
||||
param.add_annotation(annotation)
|
||||
|
||||
# params without vars are usually syntax errors.
|
||||
if param and (param.set_vars or param.used_vars):
|
||||
if param and (param.get_set_vars() or param.used_vars):
|
||||
param.position_nr = pos
|
||||
names.append(param)
|
||||
pos += 1
|
||||
|
||||
Reference in New Issue
Block a user