Mercurial > cpython-lru_cache-weakref
diff Objects/unicodeobject.c @ 71527:c3aebd01a033 3.2
Fix closes Issue12621 - Fix docstrings of find and rfind methods of bytes/bytearry/unicodeobject.
| author | Senthil Kumaran <senthil@uthcode.com> |
|---|---|
| date | Wed, 27 Jul 2011 23:33:54 +0800 |
| parents | 97707459bb5a |
| children | 787ed1a7aba8 842494d73f69 |
line wrap: on
line diff
--- a/Objects/unicodeobject.c Wed Jul 27 07:16:31 2011 +0200 +++ b/Objects/unicodeobject.c Wed Jul 27 23:33:54 2011 +0800 @@ -7587,7 +7587,7 @@ "S.find(sub[, start[, end]]) -> int\n\ \n\ Return the lowest index in S where substring sub is found,\n\ -such that sub is contained within s[start:end]. Optional\n\ +such that sub is contained within S[start:end]. Optional\n\ arguments start and end are interpreted as in slice notation.\n\ \n\ Return -1 on failure."); @@ -8513,7 +8513,7 @@ "S.rfind(sub[, start[, end]]) -> int\n\ \n\ Return the highest index in S where substring sub is found,\n\ -such that sub is contained within s[start:end]. Optional\n\ +such that sub is contained within S[start:end]. Optional\n\ arguments start and end are interpreted as in slice notation.\n\ \n\ Return -1 on failure.");
