summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-06-14 04:24:41 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-06-14 04:24:41 (GMT)
commit148a63f1fc271a1abe0cd06dd3fac0bb57131b73 (patch)
treef95fc15de173f507c4582f0cb8d9556179a3ce33
parent3d1f6bba6d199f1305892b253d27efc154c0ac0e (diff)
downloadcpython-148a63f1fc271a1abe0cd06dd3fac0bb57131b73.zip
cpython-148a63f1fc271a1abe0cd06dd3fac0bb57131b73.tar.gz
cpython-148a63f1fc271a1abe0cd06dd3fac0bb57131b73.tar.bz2
Remove a function no longer in use.
-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)
{