The copy module now handles sets directly. The __copy__ methods are no

longer needed.
This commit is contained in:
Raymond Hettinger 2004-03-08 18:31:10 +00:00
parent 3e47f65e28
commit 3fd500b4a5
1 changed files with 0 additions and 4 deletions

View File

@ -913,8 +913,6 @@ static PyMethodDef set_methods[] = {
contains_doc},
{"copy", (PyCFunction)set_copy, METH_NOARGS,
copy_doc},
{"__copy__", (PyCFunction)set_copy, METH_NOARGS,
copy_doc},
{"discard", (PyCFunction)set_discard, METH_O,
discard_doc},
{"difference", (PyCFunction)set_difference, METH_O,
@ -1041,8 +1039,6 @@ static PyMethodDef frozenset_methods[] = {
contains_doc},
{"copy", (PyCFunction)frozenset_copy, METH_NOARGS,
copy_doc},
{"__copy__", (PyCFunction)frozenset_copy, METH_NOARGS,
copy_doc},
{"difference", (PyCFunction)set_difference, METH_O,
difference_doc},
{"intersection",(PyCFunction)set_intersection, METH_O,