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

Jeremy Hylton jhylton@users.sourceforge.net
2001年11月28日 08:20:10 -0800


Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv22593
Modified Files:
	abstract.h 
Log Message:
Fix SF bug [ #476852 ] Some bad macros in abstract.h
Change macros as requested by Guido
Index: abstract.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/abstract.h,v
retrieving revision 2.41
retrieving revision 2.42
diff -C2 -d -r2.41 -r2.42
*** abstract.h	2001年11月09日 21:59:27	2.41
--- abstract.h	2001年11月28日 16:20:07	2.42
***************
*** 1113,1117 ****
 	 the Python statement: del o[key].
 */
! #define PyMapping_DelItemString(O,K) PyDict_DelItemString((O),(K))
 
 /* implemented as a macro:
--- 1113,1117 ----
 	 the Python statement: del o[key].
 */
! #define PyMapping_DelItemString(O,K) PyObject_DelItemString((O),(K))
 
 /* implemented as a macro:
***************
*** 1123,1127 ****
 	 the Python statement: del o[key].
 */
! #define PyMapping_DelItem(O,K) PyDict_DelItem((O),(K))
 
 DL_IMPORT(int) PyMapping_HasKeyString(PyObject *o, char *key);
--- 1123,1127 ----
 	 the Python statement: del o[key].
 */
! #define PyMapping_DelItem(O,K) PyObject_DelItem((O),(K))
 
 DL_IMPORT(int) PyMapping_HasKeyString(PyObject *o, char *key);

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