summaryrefslogtreecommitdiffstats
path: root/Objects/stringlib
diff options
context:
space:
mode:
authorEric V. Smith <eric@trueblade.com>2015-08-26 18:10:32 (GMT)
committerEric V. Smith <eric@trueblade.com>2015-08-26 18:10:32 (GMT)
commitab2aa6dc9197a3fc8fca5958a8578e697f88034e (patch)
treea91285d7ff43f738e8a364e872b6c15bffd3d731 /Objects/stringlib
parent7f344a89ef36970ed495aeb2aadbf37199753c6e (diff)
downloadcpython-ab2aa6dc9197a3fc8fca5958a8578e697f88034e.zip
cpython-ab2aa6dc9197a3fc8fca5958a8578e697f88034e.tar.gz
cpython-ab2aa6dc9197a3fc8fca5958a8578e697f88034e.tar.bz2
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 aec221a..d72e47d 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)
{