Skip to content

Commit 2ebf6b1

Browse files
authored
Update _merge_allc.py
in Python 3, the next() method has been replaced by the __next__() method for iterators
1 parent 3839ec7 commit 2ebf6b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ALLCools/_merge_allc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def __init__(self, path, region):
4040
self.f_region = TabixIterator()
4141

4242
def readline(self):
43-
return self.f_region.next()
43+
return next(self.f_region)
4444

4545
def close(self):
4646
self.f.close()

0 commit comments

Comments
 (0)