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

Neil Schemenauer python-dev@python.org
Thu, 5 Oct 2000 12:38:28 -0700


Update of /cvsroot/python/python/dist/src/Doc/api
In directory slayer.i.sourceforge.net:/tmp/cvs-serv9591/Doc/api

Modified Files:
	api.tex 
Log Message:
The _PyTuple_Resize() last_is_sticky flag must now always be false.


Index: api.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/api.tex,v
retrieving revision 1.93
retrieving revision 1.94
diff -C2 -r1.93 -r1.94
*** api.tex	2000/09/29 17:31:54	1.93
--- api.tex	2000/10/05 19:38:24	1.94
***************
*** 3071,3080 ****
  this should only be used if there is only one reference to the object.
  Do \emph{not} use this if the tuple may already be known to some other
! part of the code.  \var{last_is_sticky} is a flag --- if true, the
! tuple will grow or shrink at the front, otherwise it will grow or
! shrink at the end.  Think of this as destroying the old tuple and
! creating a new one, only more efficiently.  Returns \code{0} on
! success and \code{-1} on failure (in which case a
! \exception{MemoryError} or \exception{SystemError} will be raised).
  \end{cfuncdesc}
  
--- 3071,3080 ----
  this should only be used if there is only one reference to the object.
  Do \emph{not} use this if the tuple may already be known to some other
! part of the code.  The tuple will always grow or shrink at the end.  The
! \var{last_is_sticky} flag is not used and should always be false.  Think
! of this as destroying the old tuple and creating a new one, only more
! efficiently.  Returns \code{0} on success and \code{-1} on failure (in
! which case a \exception{MemoryError} or \exception{SystemError} will be
! raised).
  \end{cfuncdesc}