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

Fred L. Drake fdrake@users.sourceforge.net
Wed, 26 Dec 2001 08:53:50 -0800


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

Modified Files:
	abstract.tex 
Log Message:
Close an improperly-closed verbatim environment.
This closes SF patch #496215.

Add a little more detail to the example that had not been closed.

Bugfix: this should be made part of 2.2.1.


Index: abstract.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/abstract.tex,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** abstract.tex	2001/11/28 07:26:14	1.8
--- abstract.tex	2001/12/26 16:53:48	1.9
***************
*** 861,864 ****
--- 861,867 ----
  while (item = PyIter_Next(iter)) {
      /* do something with item */
+     ...
+     /* release reference when done */
+     Py_DECREF(item);
  }
  if (PyErr_Occurred()) {
***************
*** 868,871 ****
--- 871,876 ----
      /* continue doing useful work */
  }
+ \end{verbatim}
+ 
  
  \section{Buffer Protocol \label{abstract-buffer}}
***************
*** 898,902 ****
    buffer interface.  Otherwise returns \code{0}.
    \versionadded{2.2}
! \enc{cfuncdesc}
  
  \begin{cfuncdesc}{int}{PyObject_AsWriteBuffer}{PyObject *obj,
--- 903,907 ----
    buffer interface.  Otherwise returns \code{0}.
    \versionadded{2.2}
! \end{cfuncdesc}
  
  \begin{cfuncdesc}{int}{PyObject_AsWriteBuffer}{PyObject *obj,
***************
*** 910,913 ****
    \versionadded{1.6}
  \end{cfuncdesc}
- 
- \end{verbatim}
--- 915,916 ----