[Python-checkins] CVS: python/dist/src/Doc/api abstract.tex,1.10,1.11

Fred L. Drake fdrake@users.sourceforge.net
Wed, 03 Apr 2002 20:10:38 -0800


Update of /cvsroot/python/python/dist/src/Doc/api
In directory usw-pr-cvs1:/tmp/cvs-serv12433/api

Modified Files:
	abstract.tex 
Log Message:
Correct the descriptions of the PyObject_As*Buffer() return values.
This closes SF bug #539081.


Index: abstract.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/abstract.tex,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** abstract.tex	11 Mar 2002 18:46:29 -0000	1.10
--- abstract.tex	4 Apr 2002 04:10:36 -0000	1.11
***************
*** 896,902 ****
    Returns a pointer to a read-only memory location useable as character-
    based input.  The \var{obj} argument must support the single-segment
!   character buffer interface.  On success, returns \code{1}, sets
    \var{buffer} to the memory location and \var{buffer_len} to the buffer
!   length.  Returns \code{0} and sets a \exception{TypeError} on error.
    \versionadded{1.6}
  \end{cfuncdesc}
--- 896,902 ----
    Returns a pointer to a read-only memory location useable as character-
    based input.  The \var{obj} argument must support the single-segment
!   character buffer interface.  On success, returns \code{0}, sets
    \var{buffer} to the memory location and \var{buffer_len} to the buffer
!   length.  Returns \code{-1} and sets a \exception{TypeError} on error.
    \versionadded{1.6}
  \end{cfuncdesc}
***************
*** 908,913 ****
    arbitrary data.  The \var{obj} argument must support the
    single-segment readable buffer interface.  On success, returns
!   \code{1}, sets \var{buffer} to the memory location and \var{buffer_len}
!   to the buffer length.  Returns \code{0} and sets a
    \exception{TypeError} on error.
    \versionadded{1.6}
--- 908,913 ----
    arbitrary data.  The \var{obj} argument must support the
    single-segment readable buffer interface.  On success, returns
!   \code{0}, sets \var{buffer} to the memory location and \var{buffer_len}
!   to the buffer length.  Returns \code{-1} and sets a
    \exception{TypeError} on error.
    \versionadded{1.6}
***************
*** 925,931 ****
    Returns a pointer to a writeable memory location.  The \var{obj}
    argument must support the single-segment, character buffer
!   interface.  On success, returns \code{1}, sets \var{buffer} to the
    memory location and \var{buffer_len} to the buffer length.  Returns
!   \code{0} and sets a \exception{TypeError} on error.
    \versionadded{1.6}
  \end{cfuncdesc}
--- 925,931 ----
    Returns a pointer to a writeable memory location.  The \var{obj}
    argument must support the single-segment, character buffer
!   interface.  On success, returns \code{0}, sets \var{buffer} to the
    memory location and \var{buffer_len} to the buffer length.  Returns
!   \code{-1} and sets a \exception{TypeError} on error.
    \versionadded{1.6}
  \end{cfuncdesc}