[Python-checkins] CVS: python/dist/src/Doc/api api.tex,1.59,1.60

Fred Drake python-dev@python.org
Fri, 31 Mar 2000 13:22:40 -0500


Update of /projects/cvsroot/python/dist/src/Doc/api
In directory seahag.cnri.reston.va.us:/home/fdrake/projects/python/Doc/api

Modified Files:
	api.tex 
Log Message:

Improve explanation of reference counts for PyString_Concat().


Index: api.tex
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Doc/api/api.tex,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -r1.59 -r1.60
*** api.tex	2000/03/30 22:27:23	1.59
--- api.tex	2000/03/31 18:22:38	1.60
***************
*** 1792,1797 ****
                                           PyObject *newpart}
  Creates a new string object in \var{*string} containing the
! contents of \var{newpart} appended to \var{string}.  The old value of
! \var{string} have its reference count decremented.  If the new string
  cannot be created, the old reference to \var{string} will still be
  discarded and the value of \var{*string} will be set to
--- 1792,1798 ----
                                           PyObject *newpart}
  Creates a new string object in \var{*string} containing the
! contents of \var{newpart} appended to \var{string}; the caller will
! own the new reference.  The reference to the old value of \var{string}
! will be stolen.  If the new string
  cannot be created, the old reference to \var{string} will still be
  discarded and the value of \var{*string} will be set to