Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0351ed5

Browse filesBrowse files
[3.13] Fix a typo in syslog's error message (GH-129029) (#129049)
Fix a typo in `syslog`'s error message (GH-129029) (cherry picked from commit 9b1c181) Co-authored-by: Tomas R <tomas.roun8@gmail.com>
1 parent c6a566e commit 0351ed5
Copy full SHA for 0351ed5

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎Modules/syslogmodule.c

Copy file name to clipboardExpand all lines: Modules/syslogmodule.c
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.