Fix function name.
diff --git a/Doc/api/exceptions.tex b/Doc/api/exceptions.tex
index 8f5dc6c..cb75d50 100644
--- a/Doc/api/exceptions.tex
+++ b/Doc/api/exceptions.tex
@@ -303,7 +303,7 @@
   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}