[Python-checkins] CVS: python/dist/src/Include abstract.h,2.42,2.42.6.1

Martin v. L?wis loewis@users.sourceforge.net
2002年1月05日 02:52:40 -0800


Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv25934/Include
Modified Files:
 Tag: release22-maint
	abstract.h 
Log Message:
Implement PyObject_DelItemString. Fixes #498915.
Index: abstract.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/abstract.h,v
retrieving revision 2.42
retrieving revision 2.42.6.1
diff -C2 -d -r2.42 -r2.42.6.1
*** abstract.h	2001年11月28日 16:20:07	2.42
--- abstract.h	2002年01月05日 10:52:38	2.42.6.1
***************
*** 446,449 ****
--- 446,457 ----
 */
 
+ DL_IMPORT(int) PyObject_DelItemString(PyObject *o, char *key);
+ 
+ /*
+ Remove the mapping for object, key, from the object *o.
+ Returns -1 on failure. This is equivalent to
+ the Python statement: del o[key].
+ */
+ 
 DL_IMPORT(int) PyObject_DelItem(PyObject *o, PyObject *key);
 

AltStyle によって変換されたページ (->オリジナル) /