Skip to content

Commit b4578ba

Browse files
committed
Remove unused next method
next was used in Python 2.x.
1 parent 58da471 commit b4578ba

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

bpython/repl.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,6 @@ def current(self):
265265
raise ValueError("No current match.")
266266
return self.matches[self.index]
267267

268-
def next(self):
269-
return self.__next__()
270-
271268
def __next__(self):
272269
self.index = (self.index + 1) % len(self.matches)
273270
return self.matches[self.index]

0 commit comments

Comments
 (0)