summaryrefslogtreecommitdiffstats
path: root/Python/Python-tokenize.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-07-16 07:44:23 (GMT)
committerGitHub <noreply@github.com>2024-07-16 07:44:23 (GMT)
commitd02adecb42137711e8c58aac661fbeb46be4837b (patch)
treef038af4c1c847841dc1ff1055f64a15f1767ab16 /Python/Python-tokenize.c
parent4a62fdf35d11751a57f696ea998c80613453c6e3 (diff)
downloadcpython-d02adecb42137711e8c58aac661fbeb46be4837b.zip
cpython-d02adecb42137711e8c58aac661fbeb46be4837b.tar.gz
cpython-d02adecb42137711e8c58aac661fbeb46be4837b.tar.bz2
[3.13] gh-119189: Fix the power operator for Fraction (GH-119242) (GH-119836)
When using the ** operator or pow() with Fraction as the base and an exponent that is not rational, a float, or a complex, the fraction is no longer converted to a float. (cherry picked from commit b9965ef282d6662145d2e05b080c811132ce6fde) Co-authored-by: Joshua Herman <30265+zitterbewegung@users.noreply.github.com>
Diffstat (limited to 'Python/Python-tokenize.c')
0 files changed, 0 insertions, 0 deletions