mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-24 22:34:22 +08:00
remove unnecessary checks
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user