From 148a63f1fc271a1abe0cd06dd3fac0bb57131b73 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Mon, 14 Jun 2004 04:24:41 +0000 Subject: Remove a function no longer in use. --- Objects/setobject.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Objects/setobject.c b/Objects/setobject.c index 3dc11d4..289d5d3 100644 --- a/Objects/setobject.c +++ b/Objects/setobject.c @@ -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) { -- cgit v0.12