summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-09-02 15:56:33 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-09-02 15:56:33 (GMT)
commit057119b0b77aec2956e6beb3de8a0690bca67644 (patch)
tree87f8ef3c02290d0e04e89578b033f5a31ac07e2c /Objects
parenta3b84fb2f9d555e9efac556ea24f4ad75a54b4c8 (diff)
downloadcpython-057119b0b77aec2956e6beb3de8a0690bca67644.zip
cpython-057119b0b77aec2956e6beb3de8a0690bca67644.tar.gz
cpython-057119b0b77aec2956e6beb3de8a0690bca67644.tar.bz2
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 af4a13a..2795168 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))