1
0
forked from VimPlug/jedi

remove unnecessary checks

This commit is contained in:
Dave Halter
2014-02-24 11:40:05 +01:00
parent 9943bb6205
commit 6058e8b9c3

View File

@@ -402,8 +402,6 @@ class Parser(object):
typ, tok, start_pos, end_pos = next(self._gen)
# dedents shouldn't change positions
self.start_pos = start_pos
if typ not in (tokenize.NEWLINE,):
self.start_pos, self.end_pos = start_pos, end_pos
self._current = typ, tok
return self._current