From: Antoine Pitrou Date: Sun, 2 Sep 2012 15:56:33 +0000 (+0200) Subject: Fix C++-style comment (xlc compilation failure) X-Git-Tag: v3.3.1rc1~818^2^2~152^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=057119b0b77aec2956e6beb3de8a0690bca67644;p=python Fix C++-style comment (xlc compilation failure) --- diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index af4a13a47c..279516809f 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -9146,7 +9146,7 @@ tailmatch(PyObject *self, /* 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))