summaryrefslogtreecommitdiff
path: root/Objects/stringlib
diff options
context:
space:
mode:
authorEric V. Smith <eric@trueblade.com>2015-08-26 14:10:32 -0400
committerEric V. Smith <eric@trueblade.com>2015-08-26 14:10:32 -0400
commit0b0dcca3d23b48cae454bfc46f352b7ec424a6bc (patch)
treeea4b6559b54f830bb315d6713236e53e0ccf9e5a /Objects/stringlib
parent63181e6bc977317fb84247f6f82cf5b877285432 (diff)
downloadcpython-0b0dcca3d23b48cae454bfc46f352b7ec424a6bc.tar.gz
Fixed an incorrect comment.
Diffstat (limited to 'Objects/stringlib')
-rw-r--r--Objects/stringlib/unicode_format.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/stringlib/unicode_format.h b/Objects/stringlib/unicode_format.h
index aec221acff..d72e47d348 100644
--- a/Objects/stringlib/unicode_format.h
+++ b/Objects/stringlib/unicode_format.h
@@ -67,7 +67,7 @@ SubString_new_object(SubString *str)
return PyUnicode_Substring(str->str, str->start, str->end);
}
-/* return a new string. if str->str is NULL, return None */
+/* return a new string. if str->str is NULL, return a new empty string */
Py_LOCAL_INLINE(PyObject *)
SubString_new_object_or_empty(SubString *str)
{