[Python-checkins] cpython: Fixed an incorrect comment.
eric.smith
python-checkins at python.org
Wed Aug 26 20:09:45 CEST 2015
https://hg.python.org/cpython/rev/1f94fec31265
changeset: 97516:1f94fec31265
user: Eric V. Smith <eric at trueblade.com>
date: Wed Aug 26 14:10:32 2015 -0400
summary:
Fixed an incorrect comment.
files:
Objects/stringlib/unicode_format.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Objects/stringlib/unicode_format.h b/Objects/stringlib/unicode_format.h
--- a/Objects/stringlib/unicode_format.h
+++ b/Objects/stringlib/unicode_format.h
@@ -67,7 +67,7 @@
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)
{
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list