]> granicus.if.org Git - python/commitdiff
Remove a function no longer in use.
authorRaymond Hettinger <python@rcn.com>
Mon, 14 Jun 2004 04:24:41 +0000 (04:24 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 14 Jun 2004 04:24:41 +0000 (04:24 +0000)
Objects/setobject.c

index 3dc11d4e2c0c546643726a83c0780190cc4a692d..289d5d3d9642431ce29f295b437e4bc545acd45a 100644 (file)
@@ -757,14 +757,6 @@ set_clear(PySetObject *so)
 
 PyDoc_STRVAR(clear_doc, "Remove all elements from this set.");
 
-static int
-set_tp_clear(PySetObject *so)
-{
-       PyDict_Clear(so->data);
-       so->hash = -1;
-       return 0;
-}
-
 static PyObject *
 set_add(PySetObject *so, PyObject *item)
 {