mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 18:55:29 +03:00
12 lines
328 B
Diff
12 lines
328 B
Diff
--- a/blist/_sortedlist.py
|
|
+++ b/blist/_sortedlist.py
|
|
@@ -419,8 +419,7 @@ def add(self, value):
|
|
|
|
def __iter__(self):
|
|
it = super(_setmixin, self).__iter__()
|
|
- while True:
|
|
- item = next(it)
|
|
+ for item in it:
|
|
n = len(self)
|
|
yield item
|
|
if n != len(self):
|