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

Fred L. Drake fdrake@users.sourceforge.net
Thu, 27 Dec 2001 20:30:41 -0800


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

Modified Files:
      Tag: release22-maint
	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.


Index: abstract.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/abstract.tex,v
retrieving revision 1.8
retrieving revision 1.8.6.1
diff -C2 -d -r1.8 -r1.8.6.1
*** abstract.tex	2001/11/28 07:26:14	1.8
--- abstract.tex	2001/12/28 04:30:38	1.8.6.1
***************
*** 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 ----