]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-101678: Merge math_1_to_whatever() and math_1() (#101730)
authorSergey B Kirpichev <skirpichev@gmail.com>
Thu, 9 Feb 2023 09:40:13 +0000 (12:40 +0300)
committerGitHub <noreply@github.com>
Thu, 9 Feb 2023 09:40:13 +0000 (09:40 +0000)
commit45fa12aec8f508c224a1521cfe3ae597f1026264
tree4152ceecd5317bd2976ac21247daa3e478c8b46d
parent58395759b04273edccf3d199606088e0703ae6b1
gh-101678: Merge math_1_to_whatever() and math_1() (#101730)

`math_1_to_whatever()` is no longer useful, since all existing uses of it convert to `float`.
Earlier versions of Python used `math_1_to_whatever` with an integer target; see
gh-16991 for the PR where that use was removed.
Modules/mathmodule.c