[Python-checkins] CVS: python/dist/src/Doc/api exceptions.tex,1.3,1.4
Neil Schemenauer
nascheme@users.sourceforge.net
Sat, 23 Mar 2002 12:57:13 -0800
Update of /cvsroot/python/python/dist/src/Doc/api
In directory usw-pr-cvs1:/tmp/cvs-serv8360
Modified Files:
exceptions.tex
Log Message:
Fix example for PyErr_SetFromErrno() (need to pass exception type).
Index: exceptions.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/exceptions.tex,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** exceptions.tex 3 Dec 2001 17:56:09 -0000 1.3
--- exceptions.tex 23 Mar 2002 20:57:11 -0000 1.4
***************
*** 179,184 ****
indicator, leaves it set to that. The function always returns
\NULL, so a wrapper function around a system call can write
! \samp{return PyErr_SetFromErrno();} when the system call returns an
! error.
\end{cfuncdesc}
--- 179,184 ----
indicator, leaves it set to that. The function always returns
\NULL, so a wrapper function around a system call can write
! \samp{return PyErr_SetFromErrno(\var{type});} when the system call
! returns an error.
\end{cfuncdesc}