21 ms·Yep, you can use // to get python2 behavior unless the object redefines __truediv__ but not __floordiv__by epylar 7y agoYep, you can use // to get python2 behavior unless the object redefines __truediv__ but not __floordiv__