1
0
forked from VimPlug/jedi

Operator statement wrapper was missing (fixes #436)

This commit is contained in:
Danilo Bargen
2014-07-27 12:53:18 +02:00
parent a01e4c6b37
commit c97e1732ee
5 changed files with 26 additions and 9 deletions

View File

@@ -322,7 +322,6 @@ class Parser(object):
or tok.string in breaks and level <= 0
and not (in_lambda_param and tok.string in ',:')):
try:
# print 'parse_stmt', tok, tokenize.tok_name[token_type]
is_kw = tok.string in OPERATOR_KEYWORDS
if tok.type == tokenize.OP or is_kw:
tok_list.append(