[Python-checkins] python/dist/src/Doc/api exceptions.tex,1.7,1.8

theller@users.sourceforge.net theller@users.sourceforge.net
Mon, 29 Jul 2002 07:27:42 -0700


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

Modified Files:
	exceptions.tex 
Log Message:
New functions for extension writers on Windows:
 PyErr_SetExcFromWindowsErr(), PyErr_SetExcFromWindowsErrWithFilename().

Similar to PyErr_SetFromWindowsErrWithFilename() and
PyErr_SetFromWindowsErr(), but they allow to specify
the exception type to raise. Available on Windows.

See SF patch #576458.



Index: exceptions.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/exceptions.tex,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** exceptions.tex	2 Jul 2002 16:17:58 -0000	1.7
--- exceptions.tex	29 Jul 2002 14:27:40 -0000	1.8
***************
*** 209,212 ****
--- 209,220 ----
  \end{cfuncdesc}
  
+ \begin{cfuncdesc}{PyObject*}{PyErr_SetExcFromWindowsErr}{PyObject *type,
+ 	                                                 int ierr}
+   Similar to \cfunction{PyErr_SetFromWindowsErr()}, with an additional
+   parameter specifying the exception type to be raised.
+   Availability: Windows.
+   \versionadded{2.3}
+ \end{cfuncdesc}
+ 
  \begin{cfuncdesc}{PyObject*}{PyErr_SetFromWindowsErrWithFilename}{int ierr,
                                                                  char *filename}
***************
*** 216,219 ****
--- 224,235 ----
    parameter.
    Availability: Windows.
+ \end{cfuncdesc}
+ 
+ \begin{cfuncdesc}{PyObject*}{PyErr_SetExcFromWindowsErrWithFilename}
+ 	{PyObject *type, int ierr, char *filename}
+   Similar to \cfunction{PyErr_SetFromWindowsErrWithFilename()}, with
+   an additional parameter specifying the exception type to be raised.
+   Availability: Windows.
+   \versionadded{2.3}
  \end{cfuncdesc}