[Python-3000-checkins] r60466 - python/branches/py3k/Objects/setobject.c

raymond.hettinger python-3000-checkins at python.org
Thu Jan 31 00:33:08 CET 2008


Author: raymond.hettinger
Date: Thu Jan 31 00:33:08 2008
New Revision: 60466

Modified:
   python/branches/py3k/Objects/setobject.c
Log:
Remove duplicate function.

Modified: python/branches/py3k/Objects/setobject.c
==============================================================================
--- python/branches/py3k/Objects/setobject.c	(original)
+++ python/branches/py3k/Objects/setobject.c	Thu Jan 31 00:33:08 2008
@@ -2181,21 +2181,6 @@
 }
 
 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;


More information about the Python-3000-checkins mailing list