Closed dkellygb closed 3 years ago
I installed python3-sane from the Debian/Ubuntu repositories. It installed version (2.8.3-4build1). In sane.py, the class _SaneIterator has a def next(self): method. For Python 3 it should be def __next__(self):
def next(self):
def __next__(self):
Thanks for reporting the issue, can you submit a PR with the fix?
This was actually already done in #59. I guess the problem is that there hasn't been a release since then.
Fair point, I've tagged v2.9.0 now.
I installed python3-sane from the Debian/Ubuntu repositories. It installed version (2.8.3-4build1). In sane.py, the class _SaneIterator has a
def next(self):
method. For Python 3 it should bedef __next__(self):