]> granicus.if.org Git - python/commitdiff
Fix C++-style comment (xlc compilation failure)
authorAntoine Pitrou <solipsis@pitrou.net>
Sun, 2 Sep 2012 15:56:33 +0000 (17:56 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Sun, 2 Sep 2012 15:56:33 +0000 (17:56 +0200)
Objects/unicodeobject.c

index af4a13a47c7f620dcad814aad8b7b1f0cca5ebc4..279516809f98a102ba01910dd9a10398a6dd7ef2 100644 (file)
@@ -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))