summaryrefslogtreecommitdiff
path: root/Objects
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-09-02 17:56:33 +0200
committerAntoine Pitrou <solipsis@pitrou.net>2012-09-02 17:56:33 +0200
commitd4efa064827883d9f6cafe993b6f36cab4c3ddfa (patch)
tree75d2d4f540bc7586c75d4d0b78915c631fd130e1 /Objects
parentd962b5b616aa8908a44b035a6957781c72022aee (diff)
downloadcpython-d4efa064827883d9f6cafe993b6f36cab4c3ddfa.tar.gz
Fix C++-style comment (xlc compilation failure)
Diffstat (limited to 'Objects')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
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))