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.
|
provide additional information about a completion.
|
||||||
"""
|
"""
|
||||||
def __init__(self, name, needs_dot, like_name_length, base):
|
def __init__(self, name, needs_dot, like_name_length, base):
|
||||||
print name
|
|
||||||
super(Completion, self).__init__(name.parent, name.start_pos)
|
super(Completion, self).__init__(name.parent, name.start_pos)
|
||||||
|
|
||||||
self._name = name
|
self._name = name
|
||||||
|
|||||||
@@ -600,6 +600,7 @@ class Parser(object):
|
|||||||
# this is only true for python 2
|
# this is only true for python 2
|
||||||
n, token_type, tok = self._parse_dot_name()
|
n, token_type, tok = self._parse_dot_name()
|
||||||
if n:
|
if n:
|
||||||
|
n.parent = statement
|
||||||
statement.set_vars.append(n)
|
statement.set_vars.append(n)
|
||||||
if statement:
|
if statement:
|
||||||
inputs.append(statement)
|
inputs.append(statement)
|
||||||
|
|||||||
Reference in New Issue
Block a user