• Victor Stinner's avatar
    Fix optimised_pow2_inplace() on Python 3.10 (GH-4103) · 3602b4d7
    Victor Stinner authored
    Fix optimised_pow2_inplace() doctest on Python 3.10 because the error message changed.
    
    Python 3.9 error message:
        unsupported operand type(s) for ** or pow(): 'int' and 'str'
    
    Python 3.10 error message:
        unsupported operand type(s) for **=: 'int' and 'str'
    3602b4d7
powop.pyx 3.38 KB