mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Remove duplicate function.
This commit is contained in:
parent
70b64fce96
commit
fab2b305a2
1 changed files with 0 additions and 15 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue