Skip to content

Commit 7f68e7b

Browse files
[3.12] Fix a typo in syslog's error message (GH-129029) (#129050)
Fix a typo in `syslog`'s error message (GH-129029) (cherry picked from commit 9b1c181) Co-authored-by: Tomas R <[email protected]>
1 parent 49b2f31 commit 7f68e7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/syslogmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ syslog_closelog_impl(PyObject *module)
250250
// Since the sys.closelog changes the process level state of syslog library,
251251
// this operation is only allowed for the main interpreter.
252252
if (!is_main_interpreter()) {
253-
PyErr_SetString(PyExc_RuntimeError, "sunbinterpreter can't use syslog.closelog()");
253+
PyErr_SetString(PyExc_RuntimeError, "subinterpreter can't use syslog.closelog()");
254254
return NULL;
255255
}
256256

0 commit comments

Comments
 (0)