Fix typo in Doc/c-api/exceptions.rst (GH-118371)

This commit is contained in:
Xie Yanbo 2024-04-29 19:02:54 +08:00 committed by GitHub
parent 0315521c52
commit 98739c9078
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -104,7 +104,7 @@ Printing and clearing
Similar to :c:func:`PyErr_WriteUnraisable`, but the *format* and subsequent
parameters help format the warning message; they have the same meaning and
values as in :c:func:`PyUnicode_FromFormat`.
``PyErr_WriteUnraisable(obj)`` is roughtly equivalent to
``PyErr_WriteUnraisable(obj)`` is roughly equivalent to
``PyErr_FormatUnraisable("Exception ignored in: %R", obj)``.
If *format* is ``NULL``, only the traceback is printed.