diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2011-07-27 15:34:29 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2011-07-27 15:34:29 (GMT) |
commit | fcdaaa9011be28d4653dadc92df4a94b2f669711 (patch) | |
tree | 8b7d65a050221fc2804282fa5a12bdbfeaae9c3f /Objects/bytearrayobject.c | |
parent | 114f0e499d1a9c4b63a827f23fdc87937d17fa10 (diff) | |
parent | 53516a82df8db500a968451daa54fc72eaed7056 (diff) | |
download | cpython-fcdaaa9011be28d4653dadc92df4a94b2f669711.zip cpython-fcdaaa9011be28d4653dadc92df4a94b2f669711.tar.gz cpython-fcdaaa9011be28d4653dadc92df4a94b2f669711.tar.bz2 |
merge from 3.2 - Fix closes Issue12621 - Fix docstrings of find and rfind methods of bytes/bytearry/unicodeobject.
Diffstat (limited to 'Objects/bytearrayobject.c')
-rw-r--r-- | Objects/bytearrayobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/bytearrayobject.c b/Objects/bytearrayobject.c index fba5758..37668c7 100644 --- a/Objects/bytearrayobject.c +++ b/Objects/bytearrayobject.c @@ -1102,7 +1102,7 @@ PyDoc_STRVAR(find__doc__, "B.find(sub[, start[, end]]) -> int\n\ \n\ Return the lowest index in B where subsection sub is found,\n\ -such that sub is contained within s[start,end]. Optional\n\ +such that sub is contained within B[start,end]. Optional\n\ arguments start and end are interpreted as in slice notation.\n\ \n\ Return -1 on failure."); @@ -1196,7 +1196,7 @@ PyDoc_STRVAR(rfind__doc__, "B.rfind(sub[, start[, end]]) -> int\n\ \n\ Return the highest index in B where subsection sub is found,\n\ -such that sub is contained within s[start,end]. Optional\n\ +such that sub is contained within B[start,end]. Optional\n\ arguments start and end are interpreted as in slice notation.\n\ \n\ Return -1 on failure."); |