https://github.com/python/cpython/commit/9b1c1817af30e609b7cbfacbe5b1e73e21dc9e37
commit: 9b1c1817af30e609b7cbfacbe5b1e73e21dc9e37
branch: main
author: Tomas R. <[email protected]>
committer: Eclips4 <[email protected]>
date: 2025-01-20T10:11:08Z
summary:

Fix a typo in `syslog`'s error message (#129029)

files:
M Modules/syslogmodule.c

diff --git a/Modules/syslogmodule.c b/Modules/syslogmodule.c
index 14e7ca591a076b..adbd2fcc6ed74d 100644
--- a/Modules/syslogmodule.c
+++ b/Modules/syslogmodule.c
@@ -258,7 +258,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;
     }
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to