diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-07-16 07:44:23 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-16 07:44:23 (GMT) |
| commit | d02adecb42137711e8c58aac661fbeb46be4837b (patch) | |
| tree | f038af4c1c847841dc1ff1055f64a15f1767ab16 /Python/Python-tokenize.c | |
| parent | 4a62fdf35d11751a57f696ea998c80613453c6e3 (diff) | |
| download | cpython-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
