mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Remove a function no longer in use.
This commit is contained in:
parent
3d1f6bba6d
commit
148a63f1fc
1 changed files with 0 additions and 8 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue