summaryrefslogtreecommitdiffstats
path: root/Objects/stringobject.c
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2011-07-27 15:36:51 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2011-07-27 15:36:51 (GMT)
commit5e3a19d80666b0dddef8f8a042ea1988910b61b3 (patch)
tree708da4372e8eaef75ce79814f89ea5ee1de2aaf4 /Objects/stringobject.c
parent8171cf52b6e2ada25ead81595ab02bed6c498f7c (diff)
downloadcpython-5e3a19d80666b0dddef8f8a042ea1988910b61b3.zip
cpython-5e3a19d80666b0dddef8f8a042ea1988910b61b3.tar.gz
cpython-5e3a19d80666b0dddef8f8a042ea1988910b61b3.tar.bz2
merge from 3.2 - Fix closes Issue12621 - Fix docstrings of find and rfind methods of bytes/bytearry/unicodeobject.
Diffstat (limited to 'Objects/stringobject.c')
-rw-r--r--Objects/stringobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c
index b3b79b8..d6c4f77 100644
--- a/Objects/stringobject.c
+++ b/Objects/stringobject.c
@@ -1727,7 +1727,7 @@ PyDoc_STRVAR(find__doc__,
"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.");
@@ -1766,7 +1766,7 @@ PyDoc_STRVAR(rfind__doc__,
"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.");