Remove duplicate function.
This commit is contained in:
parent
70b64fce96
commit
fab2b305a2
|
@ -2180,21 +2180,6 @@ PySet_Add(PyObject *anyset, PyObject *key)
|
|||
return set_add_key((PySetObject *)anyset, key);
|
||||
}
|
||||
|
||||
int
|
||||
_PySet_Next(PyObject *set, Py_ssize_t *pos, PyObject **key)
|
||||
{
|
||||
setentry *entry_ptr;
|
||||
|
||||
if (!PyAnySet_Check(set)) {
|
||||
PyErr_BadInternalCall();
|
||||
return -1;
|
||||
}
|
||||
if (set_next((PySetObject *)set, pos, &entry_ptr) == 0)
|
||||
return 0;
|
||||
*key = entry_ptr->key;
|
||||
return 1;
|
||||
}
|
||||
|
||||
int
|
||||
_PySet_NextEntry(PyObject *set, Py_ssize_t *pos, PyObject **key, long *hash)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue