mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Moved misplaced functions to the section for C API functions.
This commit is contained in:
parent
3840b2ac67
commit
3625af5f21
1 changed files with 12 additions and 12 deletions
|
@ -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)
|
||||
{
|
||||
|
@ -2338,6 +2326,18 @@ PySet_Add(PyObject *anyset, PyObject *key)
|
|||
return set_add_key((PySetObject *)anyset, 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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue