From: Xie Yanbo Date: Mon, 29 Apr 2024 11:02:54 +0000 (+0800) Subject: Fix typo in Doc/c-api/exceptions.rst (GH-118371) X-Git-Tag: v3.13.0b1~232 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98739c9078d57f37df7d7b9d76ad32f7a92381a3;p=thirdparty%2FPython%2Fcpython.git Fix typo in Doc/c-api/exceptions.rst (GH-118371) --- diff --git a/Doc/c-api/exceptions.rst b/Doc/c-api/exceptions.rst index d5c25a68c47b..499bfb47cc4b 100644 --- a/Doc/c-api/exceptions.rst +++ b/Doc/c-api/exceptions.rst @@ -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.