diff options
author | Victor Stinner <vstinner@python.org> | 2023-07-22 15:04:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-22 15:04:34 (GMT) |
commit | 5e4af2a3e90d78fdf6a4cc42e0472576b1f2b975 (patch) | |
tree | 288d255165674d6464a2739cf5254cc83561d9c5 /Include/cpython | |
parent | c92ef6fe0e1384c090b94143cdc01e5e114a8747 (diff) | |
download | cpython-5e4af2a3e90d78fdf6a4cc42e0472576b1f2b975.zip cpython-5e4af2a3e90d78fdf6a4cc42e0472576b1f2b975.tar.gz cpython-5e4af2a3e90d78fdf6a4cc42e0472576b1f2b975.tar.bz2 |
gh-106320: Move private _PySet API to the internal API (#107041)
* Add pycore_setobject.h header file.
* Move the following API to the internal C API:
* _PySet_Dummy
* _PySet_NextEntry()
* _PySet_Update()
Diffstat (limited to 'Include/cpython')
-rw-r--r-- | Include/cpython/setobject.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Include/cpython/setobject.h b/Include/cpython/setobject.h index 20fd63e..1778c77 100644 --- a/Include/cpython/setobject.h +++ b/Include/cpython/setobject.h @@ -65,8 +65,3 @@ static inline Py_ssize_t PySet_GET_SIZE(PyObject *so) { return _PySet_CAST(so)->used; } #define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so)) - -PyAPI_DATA(PyObject *) _PySet_Dummy; - -PyAPI_FUNC(int) _PySet_NextEntry(PyObject *set, Py_ssize_t *pos, PyObject **key, Py_hash_t *hash); -PyAPI_FUNC(int) _PySet_Update(PyObject *set, PyObject *iterable); |