]> granicus.if.org Git - python/commitdiff
Yet another markup nit: functions that are part of the Python/C API
authorFred Drake <fdrake@acm.org>
Mon, 10 Apr 2000 18:50:14 +0000 (18:50 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 10 Apr 2000 18:50:14 +0000 (18:50 +0000)
are still C functions, and should be marked.

Doc/api/api.tex

index 64feded831f0156b6eb9e12989ab7969692a379a..11ccffa1ec83dc13bdd745c968c4cfb1e3f827bd 100644 (file)
@@ -858,14 +858,16 @@ specify an arbitrary Python object for the ``value'' of the exception.
 You need not increment its reference count.
 \end{cfuncdesc}
 
-\begin{cfuncdesc}{PyObject*}{PyErr_Format}{PyObject *exception, const char *format, ...}
+\begin{cfuncdesc}{PyObject*}{PyErr_Format}{PyObject *exception,
+                                           const char *format, ...}
 This function sets the error indicator using a printf-style format
 string.  The first argument specifies the exception type and the
 second argument specifies the format string for the exception.  Any
 subsequent arguments are converted to output by the C library's
 \cfunction{vsprintf()} function.  The buffer used internally by
-PyErr_Format is 500 bytes long.  The caller is responsible for
-guaranteeing that the formatted output does not overflow the buffer.
+\cfunction{PyErr_Format()} is 500 bytes long.  The caller is
+responsible for guaranteeing that the formatted output does not
+overflow the buffer.
 \end{cfuncdesc}
 
 \begin{cfuncdesc}{void}{PyErr_SetNone}{PyObject *type}