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

Fred L. Drake fdrake@users.sourceforge.net
Fri, 09 Nov 2001 15:34:28 -0800


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

Modified Files:
	abstract.tex 
Log Message:
Added version annotations, remove hard tabs.

Index: abstract.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/abstract.tex,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** abstract.tex	2001/11/09 21:59:12	1.5
--- abstract.tex	2001/11/09 23:34:26	1.6
***************
*** 869,877 ****
  }
  
! \section{Buffer Protocol \label{buffer}}
  
  \begin{cfuncdesc}{int}{PyObject_AsCharBuffer}{PyObject *obj,
! 					      const char **buffer,
! 					      int *buffer_len}
    Returns a pointer to a read-only memory location useable as character-
    based input.  The \var{obj} argument must support the single-segment
--- 869,877 ----
  }
  
! \section{Buffer Protocol \label{abstract-buffer}}
  
  \begin{cfuncdesc}{int}{PyObject_AsCharBuffer}{PyObject *obj,
!                                               const char **buffer,
!                                               int *buffer_len}
    Returns a pointer to a read-only memory location useable as character-
    based input.  The \var{obj} argument must support the single-segment
***************
*** 879,887 ****
    \var{buffer} to the memory location and \var{buffer} to the buffer
    length.  Returns \code{0} and sets a \exception{TypeError} on error.
  \end{cfuncdesc}
  
  \begin{cfuncdesc}{int}{PyObject_AsReadBuffer}{PyObject *obj,
! 					      const char **buffer,
! 					      int *buffer_len}
    Returns a pointer to a read-only memory location containing
    arbitrary data.  The \var{obj} argument must support the
--- 879,888 ----
    \var{buffer} to the memory location and \var{buffer} to the buffer
    length.  Returns \code{0} and sets a \exception{TypeError} on error.
+   \versionadded{1.6}
  \end{cfuncdesc}
  
  \begin{cfuncdesc}{int}{PyObject_AsReadBuffer}{PyObject *obj,
!                                               const char **buffer,
!                                               int *buffer_len}
    Returns a pointer to a read-only memory location containing
    arbitrary data.  The \var{obj} argument must support the
***************
*** 890,893 ****
--- 891,895 ----
    to the buffer length.  Returns \code{0} and sets a
    \exception{TypeError} on error.
+   \versionadded{1.6}
  \end{cfuncdesc}
  
***************
*** 895,903 ****
    Returns \code{1} if \var{o} supports the single-segment readable
    buffer interface.  Otherwise returns \code{0}.
  \enc{cfuncdesc}
  
  \begin{cfuncdesc}{int}{PyObject_AsWriteBuffer}{PyObject *obj,
! 	 				       const char **buffer,
!  					       int *buffer_len}
    Returns a pointer to a writeable memory location.  The \var{obj}
    argument must support the single-segment, character buffer
--- 897,906 ----
    Returns \code{1} if \var{o} supports the single-segment readable
    buffer interface.  Otherwise returns \code{0}.
+   \versionadded{2.2}
  \enc{cfuncdesc}
  
  \begin{cfuncdesc}{int}{PyObject_AsWriteBuffer}{PyObject *obj,
!                                                const char **buffer,
!                                                int *buffer_len}
    Returns a pointer to a writeable memory location.  The \var{obj}
    argument must support the single-segment, character buffer
***************
*** 905,908 ****
--- 908,912 ----
    memory location and \var{buffer} to the buffer length.  Returns
    \code{0} and sets a \exception{TypeError} on error.
+   \versionadded{1.6}
  \end{cfuncdesc}