Skip to content

Commit 9b1c181

Browse files
authored
Fix a typo in syslog's error message (#129029)
1 parent 07c3518 commit 9b1c181

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
@@ -258,7 +258,7 @@ syslog_closelog_impl(PyObject *module)
258258
// Since the sys.closelog changes the process level state of syslog library,
259259
// this operation is only allowed for the main interpreter.
260260
if (!is_main_interpreter()) {
261-
PyErr_SetString(PyExc_RuntimeError, "sunbinterpreter can't use syslog.closelog()");
261+
PyErr_SetString(PyExc_RuntimeError, "subinterpreter can't use syslog.closelog()");
262262
return NULL;
263263
}
264264

0 commit comments

Comments
 (0)