1
0
forked from VimPlug/jedi

ignore an exception with incomplete 'as' statements

This commit is contained in:
David Halter
2012-12-10 13:49:28 +01:00
parent f8cf04894a
commit 9f8c27c956

View File

@@ -768,7 +768,7 @@ class Statement(Simple):
is_chain = False
continue
elif tok == 'as':
next(tok_iter)
next(tok_iter, None)
continue
brackets = {'(': Array.TUPLE, '[': Array.LIST, '{': Array.SET}