[Python-checkins] python/dist/src/Python sysmodule.c,2.98.6.4,2.98.6.5

fdrake@users.sourceforge.net fdrake@users.sourceforge.net
2002年6月20日 14:35:04 -0700


Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv23678/Python
Modified Files:
 Tag: release22-maint
	sysmodule.c 
Log Message:
Fix the docstring for sys.getrefcount().
Closes SF bug #571759.
Index: sysmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/sysmodule.c,v
retrieving revision 2.98.6.4
retrieving revision 2.98.6.5
diff -C2 -d -r2.98.6.4 -r2.98.6.5
*** sysmodule.c	25 Mar 2002 12:33:56 -0000	2.98.6.4
--- sysmodule.c	20 Jun 2002 21:35:02 -0000	2.98.6.5
***************
*** 467,472 ****
 "getrefcount(object) -> integer\n\
 \n\
! Return the current reference count for the object. This includes the\n\
! temporary reference in the argument list, so it is at least 2.";
 
 #ifdef COUNT_ALLOCS
--- 467,473 ----
 "getrefcount(object) -> integer\n\
 \n\
! Return the reference count of object. The count returned is generally\n\
! one higher than you might expect, because it includes the (temporary)\n\
! reference as an argument to getrefcount().";
 
 #ifdef COUNT_ALLOCS

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