diff options
author | Martin v. L?wis <martin@v.loewis.de> | 2014-01-03 21:36:49 +0100 |
---|---|---|
committer | Martin v. L?wis <martin@v.loewis.de> | 2014-01-03 21:36:49 +0100 |
commit | b7c6982548f747a8df615bb1aaac4c509a48a042 (patch) | |
tree | 8fc1474bb7fa62d495b8d2255985698cdf456201 /Include/sysmodule.h | |
parent | db8a0e26cc268e7ea1015a304551d42298d82a88 (diff) | |
download | cpython-b7c6982548f747a8df615bb1aaac4c509a48a042.tar.gz |
Issue #19526: Exclude all new API from the stable ABI.
Diffstat (limited to 'Include/sysmodule.h')
-rw-r--r-- | Include/sysmodule.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/sysmodule.h b/Include/sysmodule.h index 925c2a34f4..79e52a365f 100644 --- a/Include/sysmodule.h +++ b/Include/sysmodule.h @@ -8,7 +8,9 @@ extern "C" { #endif PyAPI_FUNC(PyObject *) PySys_GetObject(const char *); +#ifndef Py_LIMITED_API PyAPI_FUNC(PyObject *) _PySys_GetObjectId(_Py_Identifier *key); +#endif PyAPI_FUNC(int) PySys_SetObject(const char *, PyObject *); PyAPI_FUNC(int) _PySys_SetObjectId(_Py_Identifier *key, PyObject *); |