forked from VimPlug/jedi
fixed error with 'comma' separated exceptions
This commit is contained in:
@@ -318,7 +318,6 @@ class Completion(BaseDefinition):
|
||||
provide additional information about a completion.
|
||||
"""
|
||||
def __init__(self, name, needs_dot, like_name_length, base):
|
||||
print name
|
||||
super(Completion, self).__init__(name.parent, name.start_pos)
|
||||
|
||||
self._name = name
|
||||
|
||||
@@ -600,6 +600,7 @@ class Parser(object):
|
||||
# this is only true for python 2
|
||||
n, token_type, tok = self._parse_dot_name()
|
||||
if n:
|
||||
n.parent = statement
|
||||
statement.set_vars.append(n)
|
||||
if statement:
|
||||
inputs.append(statement)
|
||||
|
||||
Reference in New Issue
Block a user