summaryrefslogtreecommitdiffstats
path: root/Objects/bytearrayobject.c
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2011-07-27 15:33:54 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2011-07-27 15:33:54 (GMT)
commit53516a82df8db500a968451daa54fc72eaed7056 (patch)
treec590eb9c6ba95ab347330c61e6d8496fa6ba5329 /Objects/bytearrayobject.c
parentd98646e43096053ee13f5a9a6af38f8c723b1aaf (diff)
downloadcpython-53516a82df8db500a968451daa54fc72eaed7056.zip
cpython-53516a82df8db500a968451daa54fc72eaed7056.tar.gz
cpython-53516a82df8db500a968451daa54fc72eaed7056.tar.bz2
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/bytearrayobject.c b/Objects/bytearrayobject.c
index 7a74104..0b45394 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.");
@@ -1172,7 +1172,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.");