mirror of
https://github.com/python/cpython.git
synced 2026-01-04 14:32:21 +00:00
[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 9b1c1817af)
Co-authored-by: Tomas R <tomas.roun8@gmail.com>
This commit is contained in:
parent
49b2f31a6b
commit
7f68e7bf2a
1 changed files with 1 additions and 1 deletions
|
|
@ -250,7 +250,7 @@ syslog_closelog_impl(PyObject *module)
|
|||
// Since the sys.closelog changes the process level state of syslog library,
|
||||
// this operation is only allowed for the main interpreter.
|
||||
if (!is_main_interpreter()) {
|
||||
PyErr_SetString(PyExc_RuntimeError, "sunbinterpreter can't use syslog.closelog()");
|
||||
PyErr_SetString(PyExc_RuntimeError, "subinterpreter can't use syslog.closelog()");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue