summaryrefslogtreecommitdiffstats
path: root/Include/object.h
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2023-05-30 22:40:07 (GMT)
committerGitHub <noreply@github.com>2023-05-30 22:40:07 (GMT)
commit26e7bbf66e93ee7c94b6e007ec7b2d769c2ced92 (patch)
treeef616a7ac723d9cf563e973c3261037f0cf72568 /Include/object.h
parent70f315c2d6de87b0514ce16cc00a91a5b60a6098 (diff)
downloadcpython-26e7bbf66e93ee7c94b6e007ec7b2d769c2ced92.zip
cpython-26e7bbf66e93ee7c94b6e007ec7b2d769c2ced92.tar.gz
cpython-26e7bbf66e93ee7c94b6e007ec7b2d769c2ced92.tar.bz2
gh-102304: Fix 2 New Stable ABI Functions (gh-104762)
Diffstat (limited to 'Include/object.h')
-rw-r--r--Include/object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/object.h b/Include/object.h
index c4fe2f8..c2fee85 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -590,7 +590,7 @@ you can count such references to the type object.)
extern Py_ssize_t _Py_RefTotal;
# define _Py_INC_REFTOTAL() _Py_RefTotal++
# define _Py_DEC_REFTOTAL() _Py_RefTotal--
-# elif !defined(Py_LIMITED_API) || Py_LIMITED_API+0 > 0x030D0000
+# elif !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030C0000
PyAPI_FUNC(void) _Py_IncRefTotal_DO_NOT_USE_THIS(void);
PyAPI_FUNC(void) _Py_DecRefTotal_DO_NOT_USE_THIS(void);
# define _Py_INC_REFTOTAL() _Py_IncRefTotal_DO_NOT_USE_THIS()