[Python-checkins] python/dist/src/Include setobject.h,2.2,2.3

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Sun Nov 23 21:57:35 EST 2003


Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1:/tmp/cvs-serv19524/Include

Modified Files:
	setobject.h 
Log Message:
* Checkin remaining documentation
* Add more tests
* Refactor and neaten the code a bit.
* Rename union_update() to update().
* Improve the algorithms (making them a closer to sets.py).



Index: setobject.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/setobject.h,v
retrieving revision 2.2
retrieving revision 2.3
diff -C2 -d -r2.2 -r2.3
*** setobject.h	17 Nov 2003 16:42:32 -0000	2.2
--- setobject.h	24 Nov 2003 02:57:33 -0000	2.3
***************
*** 21,25 ****
  PyAPI_DATA(PyTypeObject) PyFrozenSet_Type;
  
! 
  #define PyAnySet_Check(ob) \
  	((ob)->ob_type == &PySet_Type || (ob)->ob_type == &PyFrozenSet_Type || \
--- 21,25 ----
  PyAPI_DATA(PyTypeObject) PyFrozenSet_Type;
  
! #define PyFrozenSet_CheckExact(ob) ((ob)->ob_type == &PyFrozenSet_Type)
  #define PyAnySet_Check(ob) \
  	((ob)->ob_type == &PySet_Type || (ob)->ob_type == &PyFrozenSet_Type || \





More information about the Python-checkins mailing list