1
0
forked from VimPlug/jedi

fix problems with unnecessary brackets and following executions, which fixes also the last remaining lambda problem

This commit is contained in:
David Halter
2012-12-24 10:47:11 +01:00
parent 3f95d33f4d
commit e647e09f0c
3 changed files with 18 additions and 10 deletions

View File

@@ -1322,7 +1322,6 @@ class PyFuzzyParser(object):
n = Name(self.module, names, first_pos, self.end_pos) if names \
else None
#if self.module.path != '__builtin__': print n
return n, token_type, tok
def _parseimportlist(self):
@@ -1558,7 +1557,6 @@ class PyFuzzyParser(object):
lambd.returns.append(ret)
lambd.parent = self.scope
lambd.end_pos = self.end_pos
#print lambd, added_breaks, ret, param
tok_list[-1] = lambd
continue
elif token_type == tokenize.NAME: