Yet another markup nit: functions that are part of the Python/C API

are still C functions, and should be marked.
This commit is contained in:
Fred Drake 2000-04-10 18:50:14 +00:00
parent 37f41565a8
commit 7357770153
1 changed files with 5 additions and 3 deletions

View 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}