[Python-checkins] cpython: Moved misplaced functions to the section for C API functions.
raymond.hettinger
python-checkins at python.org
Sun Mar 27 04:16:29 EDT 2016
https://hg.python.org/cpython/rev/9d20901c74f3
changeset: 100762:9d20901c74f3
user: Raymond Hettinger <python at rcn.com>
date: Sun Mar 27 01:15:07 2016 -0700
summary:
Moved misplaced functions to the section for C API functions.
files:
Objects/setobject.c | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/Objects/setobject.c b/Objects/setobject.c
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -1116,18 +1116,6 @@
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 @@
}
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;
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list