We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2633d18 commit 45442c3Copy full SHA for 45442c3
Include/internal/pycore_pyerrors.h
@@ -134,9 +134,9 @@ PyAPI_FUNC(void) _PyErr_SetString(
134
* Set an exception with the error message decoded from the current locale
135
* encoding (LC_CTYPE).
136
*
137
- * Exceptions occurring in decoding take priority over the desired exception,
138
- * in which case, this returns -1. Otherwise this returns 0 if the localized
139
- * exception has been successfully set.
+ * Exceptions occurring in decoding take priority over the desired exception.
+ * In those cases, this function returns -1. Otherwise this returns 0 if the
+ * localized exception has been successfully set.
140
141
* Exported for '_ctypes' shared extensions.
142
*/
0 commit comments