Mercurial > cpython-lru_cache-weakref
diff Doc/api/api.tex @ 12355:04802b7e8a1f legacy-trunk
Yet another markup nit: functions that are part of the Python/C API
are still C functions, and should be marked.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Mon, 10 Apr 2000 18:50:14 +0000 |
| parents | 996eb3b3b33e |
| children | 6618325574cb |
line wrap: on
line diff
--- a/Doc/api/api.tex Mon Apr 10 18:46:22 2000 +0000 +++ b/Doc/api/api.tex Mon Apr 10 18:50:14 2000 +0000 @@ -858,14 +858,16 @@ 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}
