Skip to content

Commit 2633d18

Browse files
picnixzvstinner
andauthored
Update Include/internal/pycore_pyerrors.h
Co-authored-by: Victor Stinner <[email protected]>
1 parent 571de05 commit 2633d18

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Include/internal/pycore_pyerrors.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ PyAPI_FUNC(void) _PyErr_SetString(
131131
const char *string);
132132

133133
/*
134-
* Set an exception with the error message decoded from the current locale.
134+
* Set an exception with the error message decoded from the current locale
135+
* encoding (LC_CTYPE).
135136
*
136137
* Exceptions occurring in decoding take priority over the desired exception,
137138
* in which case, this returns -1. Otherwise this returns 0 if the localized

0 commit comments

Comments
 (0)