commit | 3e7ee02327db13e4337374597cdc4458ecb9e3ad | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Thu May 27 00:51:07 2021 +0200 |
committer | GitHub <noreply@github.com> | Thu May 27 00:51:07 2021 +0200 |
tree | cf61463ec1ded73c693c981875d68e483c2af552 | |
parent | d8fd8c8568cbc2f53c1abeda3596a89a46f0e3d7 [diff] |
bpo-42161: mathmodule.c: move _PyLong_GetOne() loop invariant (GH-26391) Move _PyLong_GetZero() and _PyLong_GetOne() loop invariants outside loops in functions: * math.comb() * math.gcd() * math.lcm() * math.perm()