forked from VimPlug/jedi
Remove a lot more Python 2 mentions and todos
This commit is contained in:
@@ -89,10 +89,6 @@ class PushBackIterator(object):
|
||||
def __iter__(self):
|
||||
return self
|
||||
|
||||
def next(self):
|
||||
""" Python 2 Compatibility """
|
||||
return self.__next__()
|
||||
|
||||
def __next__(self):
|
||||
if self.pushes:
|
||||
self.current = self.pushes.pop()
|
||||
|
||||
Reference in New Issue
Block a user