]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in Doc/c-api/exceptions.rst (GH-118371)
authorXie Yanbo <xieyanbo@gmail.com>
Mon, 29 Apr 2024 11:02:54 +0000 (19:02 +0800)
committerGitHub <noreply@github.com>
Mon, 29 Apr 2024 11:02:54 +0000 (14:02 +0300)
Doc/c-api/exceptions.rst

index d5c25a68c47bd616af074bacf25a1163cc09aa9c..499bfb47cc4be545ae699bc73f9d2111175efc2d 100644 (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.