Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Doc/c-api/exceptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ an error value).

.. c:function:: int PyErr_WarnFormat(PyObject *category, Py_ssize_t stack_level, const char *format, ...)

Function similar to :c:func:`PyErr_WarnEx`, but use
Function similar to :c:func:`PyErr_WarnEx`, but uses
:c:func:`PyUnicode_FromFormat` to format the warning message. *format* is
an ASCII-encoded string.

Expand Down Expand Up @@ -1392,7 +1392,7 @@ Tracebacks

This function will return ``NULL`` on success, or an error message on error.

This function is meant to debug debug situations such as segfaults, fatal
Comment thread
StanFromIreland marked this conversation as resolved.
This function is meant to debug situations such as segfaults, fatal
errors, and similar. It calls :c:func:`PyUnstable_DumpTraceback` for each
thread. It only writes the tracebacks of the first *max_threads* threads,
further output is truncated with the line ``...``. If *max_threads* is 0, the
Expand Down
Loading