Mercurial > cpython-lru_cache-weakref
diff Objects/unicodeobject.c @ 78834:db34753bd70e
Fix C++-style comment (xlc compilation failure)
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Sun, 02 Sep 2012 17:56:33 +0200 |
| parents | 263d09ce3e9e |
| children | a3e194661b5f |
line wrap: on
line diff
--- a/Objects/unicodeobject.c Sun Sep 02 14:50:56 2012 +0200 +++ b/Objects/unicodeobject.c Sun Sep 02 17:56:33 2012 +0200 @@ -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))
