1
0
forked from VimPlug/jedi

Simplify the fast parser tokenizer more. Now it is more readable and less buggy (+bugfixes).

This commit is contained in:
Dave Halter
2015-01-31 20:09:44 +01:00
parent 1826f432c8
commit bc118e8047
5 changed files with 44 additions and 65 deletions

View File

@@ -706,7 +706,7 @@ class Class(ClassOrFunc):
super(Class, self).__init__(children)
def get_super_arglist(self):
if len(self.children) == 4: # Has no parentheses
if self.children[2] != '(': # Has no parentheses
return None
else:
if self.children[3] == ')': # Empty parentheses