summaryrefslogtreecommitdiffstats
path: root/Python/getcompiler.c
diff options
context:
space:
mode:
authorJoshua Herman <30265+zitterbewegung@users.noreply.github.com>2024-05-31 10:05:09 (GMT)
committerGitHub <noreply@github.com>2024-05-31 10:05:09 (GMT)
commitb9965ef282d6662145d2e05b080c811132ce6fde (patch)
tree32e9d038c66ae4352a55d6743cc3c39bca1ec3e6 /Python/getcompiler.c
parentdae0375bd97f3821c5db1602a0653a3c5dc53c5b (diff)
downloadcpython-b9965ef282d6662145d2e05b080c811132ce6fde.zip
cpython-b9965ef282d6662145d2e05b080c811132ce6fde.tar.gz
cpython-b9965ef282d6662145d2e05b080c811132ce6fde.tar.bz2
gh-119189: Fix the power operator for Fraction (GH-119242)
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.
Diffstat (limited to 'Python/getcompiler.c')
0 files changed, 0 insertions, 0 deletions