summaryrefslogtreecommitdiffstats
path: root/Objects/setobject.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-03-08 18:31:10 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-03-08 18:31:10 (GMT)
commit3fd500b4a5a49b2844f0c9cd64a663fd0f6eb2f1 (patch)
tree65f80b2aa6cd1b11b08a818a27cffe090bcd14b6 /Objects/setobject.c
parent3e47f65e28e0350ebf5de83242fdc4099f69a60d (diff)
downloadcpython-3fd500b4a5a49b2844f0c9cd64a663fd0f6eb2f1.zip
cpython-3fd500b4a5a49b2844f0c9cd64a663fd0f6eb2f1.tar.gz
cpython-3fd500b4a5a49b2844f0c9cd64a663fd0f6eb2f1.tar.bz2
The copy module now handles sets directly. The __copy__ methods are no
longer needed.
Diffstat (limited to 'Objects/setobject.c')
-rw-r--r--Objects/setobject.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c
index dfad98f..9aedc2f 100644
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -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,