diff options
author | Joshua Herman <30265+zitterbewegung@users.noreply.github.com> | 2024-05-31 10:05:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-31 10:05:09 (GMT) |
commit | b9965ef282d6662145d2e05b080c811132ce6fde (patch) | |
tree | 32e9d038c66ae4352a55d6743cc3c39bca1ec3e6 /Python/flowgraph.c | |
parent | dae0375bd97f3821c5db1602a0653a3c5dc53c5b (diff) | |
download | cpython-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/flowgraph.c')
0 files changed, 0 insertions, 0 deletions