]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Minor refactoring of Object/abstract.c (UNARY_FUNC macro and more cases for BINARY_FU...
authorSergey B Kirpichev <skirpichev@gmail.com>
Tue, 5 Dec 2023 07:34:13 +0000 (10:34 +0300)
committerGitHub <noreply@github.com>
Tue, 5 Dec 2023 07:34:13 +0000 (09:34 +0200)
commit9f92b31339945da55559747c420e170c968e9e2b
tree8d00987768fd5fb0c5801bd78cb7e368d7baa133
parentaa5bee30abb28d73a838399f4c3a8bcdc5108fe3
Minor refactoring of Object/abstract.c (UNARY_FUNC macro and more cases for BINARY_FUNC) (GH-112145)

* Use BINARY_FUNC macro for some remaining ops
* Add UNARY_FUNC macro to define unary PyNumber_* functions
Objects/abstract.c