[Python-checkins] CVS: python/dist/src/Objects typeobject.c,2.48,2.49

Guido van Rossum gvanrossum@users.sourceforge.net
2001年8月28日 11:28:23 -0700


Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv18210
Modified Files:
	typeobject.c 
Log Message:
Fix a typo in SLOT0 macro for the declaration of cache_str.
Dunno why I didn't catch this before.
Index: typeobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/typeobject.c,v
retrieving revision 2.48
retrieving revision 2.49
diff -C2 -d -r2.48 -r2.49
*** typeobject.c	2001年08月28日 18:22:14	2.48
--- typeobject.c	2001年08月28日 18:28:21	2.49
***************
*** 2391,2395 ****
 FUNCNAME(PyObject *self) \
 { \
! 	static PyObject cache_str; \
 	return call_method(self, OPSTR, &cache_str, ""); \
 }
--- 2391,2395 ----
 FUNCNAME(PyObject *self) \
 { \
! 	static PyObject *cache_str; \
 	return call_method(self, OPSTR, &cache_str, ""); \
 }

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