Peter Otten <[email protected]> writes: > return min(take_until(), key=firstitem)[1]
Actually, key=abs should work. I realized that after posting. -- https://mail.python.org/mailman/listinfo/python-list
Peter Otten <[email protected]> writes: > return min(take_until(), key=firstitem)[1]
Actually, key=abs should work. I realized that after posting. -- https://mail.python.org/mailman/listinfo/python-list