Skip to content

Commit

Permalink
Fix typo in Doc/c-api/exceptions.rst (GH-118371)
Browse files Browse the repository at this point in the history
  • Loading branch information
xyb committed Apr 29, 2024
1 parent 0315521 commit 98739c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/c-api/exceptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 98739c9

Please sign in to comment.