1
0
forked from VimPlug/jedi

fixed error with 'comma' separated exceptions

This commit is contained in:
David Halter
2013-07-19 01:27:40 +02:00
parent b84315b829
commit f754d1565f
2 changed files with 1 additions and 1 deletions

View File

@@ -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

View File

@@ -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)