diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2025-05-01 02:35:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-01 02:35:20 (GMT) |
commit | 811edcf9cda5fb09aa5189e88e693d35dee7a2d1 (patch) | |
tree | cf988b98d214eb6ecce4682bee7a6c148c03b3d7 /Include/cpython/funcobject.h | |
parent | 011979132648d50f83d4506d768dca24de47c8c6 (diff) | |
download | cpython-811edcf9cda5fb09aa5189e88e693d35dee7a2d1.zip cpython-811edcf9cda5fb09aa5189e88e693d35dee7a2d1.tar.gz cpython-811edcf9cda5fb09aa5189e88e693d35dee7a2d1.tar.bz2 |
Revert "gh-132775: Add _PyCode_GetVarCounts() (gh-133128)" (gh-133232)
The change broke the s390 builds, so I'm reverting it while I investigate.
This reverts commit 94b4fcd806e7b692955173d309ea3b70a193ad96.
Diffstat (limited to 'Include/cpython/funcobject.h')
-rw-r--r-- | Include/cpython/funcobject.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Include/cpython/funcobject.h b/Include/cpython/funcobject.h index 18249b9..598cd33 100644 --- a/Include/cpython/funcobject.h +++ b/Include/cpython/funcobject.h @@ -97,11 +97,6 @@ static inline PyObject* PyFunction_GET_GLOBALS(PyObject *func) { } #define PyFunction_GET_GLOBALS(func) PyFunction_GET_GLOBALS(_PyObject_CAST(func)) -static inline PyObject* PyFunction_GET_BUILTINS(PyObject *func) { - return _PyFunction_CAST(func)->func_builtins; -} -#define PyFunction_GET_BUILTINS(func) PyFunction_GET_BUILTINS(_PyObject_CAST(func)) - static inline PyObject* PyFunction_GET_MODULE(PyObject *func) { return _PyFunction_CAST(func)->func_module; } |