[Python-checkins] cpython: Fix C++-style comment (xlc compilation failure)
antoine.pitrou
python-checkins at python.org
Sun Sep 2 18:00:21 CEST 2012
http://hg.python.org/cpython/rev/db34753bd70e
changeset: 78834:db34753bd70e
user: Antoine Pitrou <solipsis at pitrou.net>
date: Sun Sep 02 17:56:33 2012 +0200
summary:
Fix C++-style comment (xlc compilation failure)
files:
Objects/unicodeobject.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -9146,7 +9146,7 @@
/* We do not need to compare 0 and len(substring)-1 because
the if statement above ensured already that they are equal
when we end up here. */
- // TODO: honor direction and do a forward or backwards search
+ /* TODO: honor direction and do a forward or backwards search */
for (i = 1; i < end_sub; ++i) {
if (PyUnicode_READ(kind_self, data_self, offset + i) !=
PyUnicode_READ(kind_sub, data_sub, i))
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list