diff options
author | Raymond Hettinger <python@rcn.com> | 2008-01-30 23:33:08 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2008-01-30 23:33:08 (GMT) |
commit | fab2b305a29c374e2eb3965202364405b6c0a81e (patch) | |
tree | eb328d6ca8207244ce446b0ecb91149b14005ac6 /Objects | |
parent | 70b64fce96e894dfa8af5afd1f8b3fe863ba16e0 (diff) | |
download | cpython-fab2b305a29c374e2eb3965202364405b6c0a81e.zip cpython-fab2b305a29c374e2eb3965202364405b6c0a81e.tar.gz cpython-fab2b305a29c374e2eb3965202364405b6c0a81e.tar.bz2 |
Remove duplicate function.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/setobject.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c index d97dc28..1fa8dda 100644 --- a/Objects/setobject.c +++ b/Objects/setobject.c @@ -2181,21 +2181,6 @@ PySet_Add(PyObject *anyset, PyObject *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) { setentry *entry; |