Skip to content

Commit 8e7c678

Browse files
committed
remove the next defined in Queue as it is unused
1 parent 87f47ff commit 8e7c678

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

bayes_opt/bayesian_optimization.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ def __next__(self):
2929
self._queue = self._queue[1:]
3030
return obj
3131

32-
def next(self):
33-
return self.__next__()
34-
3532
def add(self, obj):
3633
"""Add object to end of queue."""
3734
self._queue.append(obj)

0 commit comments

Comments
 (0)