summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/setobject.c8
1 files changed, 0 insertions, 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)
{