Skip to content

Commit 15c8481

Browse files
committed
fix comment length
1 parent 69796ff commit 15c8481

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Modules/_threadmodule.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2523,7 +2523,8 @@ _thread__get_name_impl(PyObject *module)
25232523
}
25242524

25252525
#ifdef __sun
2526-
// Decode Solaris/Illumos (e.g. OpenIndiana) thread names as ASCII since OpenIndiana only supports ASCII names.
2526+
// Decode Solaris/Illumos (e.g. OpenIndiana) thread names as ASCII
2527+
// since OpenIndiana only supports ASCII names.
25272528
return PyUnicode_DecodeASCII(name, strlen(name), "surrogateescape");
25282529
#else
25292530
return PyUnicode_DecodeFSDefault(name);
@@ -2562,7 +2563,8 @@ _thread_set_name_impl(PyObject *module, PyObject *name_obj)
25622563
{
25632564
#ifndef MS_WINDOWS
25642565
#ifdef __sun
2565-
// Encode Solaris/Illumos thread names as ASCII since OpenIndiana does not support non-ASCII names
2566+
// Encode Solaris/Illumos thread names as ASCII
2567+
// since OpenIndiana does not support non-ASCII names.
25662568
const char *encoding = "ascii";
25672569
#else
25682570
// Encode the thread name to the filesystem encoding using the "replace"

0 commit comments

Comments
 (0)