diff options
author | Raymond Hettinger <python@rcn.com> | 2016-03-27 08:15:07 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2016-03-27 08:15:07 (GMT) |
commit | 3625af5f2129f8e8735c54bd01d9f138dd5c0e83 (patch) | |
tree | a340728d089925fd68e41e1cbade98c9d0f23550 /Objects/setobject.c | |
parent | 3840b2ac6728d1940a7efc2ecab2c7d9a100c080 (diff) | |
download | cpython-3625af5f2129f8e8735c54bd01d9f138dd5c0e83.zip cpython-3625af5f2129f8e8735c54bd01d9f138dd5c0e83.tar.gz cpython-3625af5f2129f8e8735c54bd01d9f138dd5c0e83.tar.bz2 |
Moved misplaced functions to the section for C API functions.
Diffstat (limited to 'Objects/setobject.c')
-rw-r--r-- | Objects/setobject.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c index 34235f8..176570e 100644 --- a/Objects/setobject.c +++ b/Objects/setobject.c @@ -1116,18 +1116,6 @@ frozenset_new(PyTypeObject *type, PyObject *args, PyObject *kwds) return emptyfrozenset; } -int -PySet_ClearFreeList(void) -{ - return 0; -} - -void -PySet_Fini(void) -{ - Py_CLEAR(emptyfrozenset); -} - static PyObject * set_new(PyTypeObject *type, PyObject *args, PyObject *kwds) { @@ -2339,6 +2327,18 @@ PySet_Add(PyObject *anyset, PyObject *key) } int +PySet_ClearFreeList(void) +{ + return 0; +} + +void +PySet_Fini(void) +{ + Py_CLEAR(emptyfrozenset); +} + +int _PySet_NextEntry(PyObject *set, Py_ssize_t *pos, PyObject **key, Py_hash_t *hash) { setentry *entry; |