[Python-checkins] python/dist/src/Objects setobject.c,1.21,1.22

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Mon Mar 8 13:31:22 EST 2004


Update of /cvsroot/python/python/dist/src/Objects
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16976

Modified Files:
	setobject.c 
Log Message:
The copy module now handles sets directly.  The __copy__ methods are no
longer needed.



Index: setobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/setobject.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** setobject.c	31 Dec 2003 14:08:58 -0000	1.21
--- setobject.c	8 Mar 2004 18:31:10 -0000	1.22
***************
*** 914,919 ****
  	{"copy",	(PyCFunction)set_copy,		METH_NOARGS,
  	 copy_doc},
- 	{"__copy__",	(PyCFunction)set_copy,		METH_NOARGS,
- 	 copy_doc},
  	{"discard",	(PyCFunction)set_discard,	METH_O,
  	 discard_doc},
--- 914,917 ----
***************
*** 1042,1047 ****
  	{"copy",	(PyCFunction)frozenset_copy,	METH_NOARGS,
  	 copy_doc},
- 	{"__copy__",	(PyCFunction)frozenset_copy,	METH_NOARGS,
- 	 copy_doc},
  	{"difference",	(PyCFunction)set_difference,	METH_O,
  	 difference_doc},
--- 1040,1043 ----




More information about the Python-checkins mailing list