summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2016-03-27 08:15:07 (GMT)
committerRaymond Hettinger <python@rcn.com>2016-03-27 08:15:07 (GMT)
commit3625af5f2129f8e8735c54bd01d9f138dd5c0e83 (patch)
treea340728d089925fd68e41e1cbade98c9d0f23550 /Objects
parent3840b2ac6728d1940a7efc2ecab2c7d9a100c080 (diff)
downloadcpython-3625af5f2129f8e8735c54bd01d9f138dd5c0e83.zip
cpython-3625af5f2129f8e8735c54bd01d9f138dd5c0e83.tar.gz
cpython-3625af5f2129f8e8735c54bd01d9f138dd5c0e83.tar.bz2
Moved misplaced functions to the section for C API functions.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/setobject.c24
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;