Skip to content

Commit ab2aa6d

Browse files
committed
Fixed an incorrect comment.
1 parent 7f344a8 commit ab2aa6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/stringlib/unicode_format.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ SubString_new_object(SubString *str)
6767
return PyUnicode_Substring(str->str, str->start, str->end);
6868
}
6969

70-
/* return a new string. if str->str is NULL, return None */
70+
/* return a new string. if str->str is NULL, return a new empty string */
7171
Py_LOCAL_INLINE(PyObject *)
7272
SubString_new_object_or_empty(SubString *str)
7373
{

0 commit comments

Comments
 (0)