Fix function name.
authorGeorg Brandl <georg@python.org>
Mon, 31 Jul 2006 16:00:34 +0000 (16:00 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 31 Jul 2006 16:00:34 +0000 (16:00 +0000)
Doc/api/exceptions.tex

index 8f5dc6c9b33899d1b226d09ce847af107de8587d..cb75d5051b71257480dd64879ed7a014cb81366c 100644 (file)
@@ -303,7 +303,7 @@ for each thread.
   category (see below) or \NULL; the \var{message} argument is a
   message string.  The warning will appear to be issued from the function
   calling \cfunction{PyErr_Warn()}, equivalent to calling
-  \cfunction{PyErr_Warn()} with a \var{stacklevel} of 1.
+  \cfunction{PyErr_WarnEx()} with a \var{stacklevel} of 1.
   
   Deprecated; use \cfunction{PyErr_WarnEx()} instead.
 \end{cfuncdesc}