diff Objects/stringobject.c @ 71529:e266415cf42c 2.7

merge from 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:36:51 +0800
parents 60b3a5615c4e
children a0f43f4481e0
line wrap: on
line diff
--- a/Objects/stringobject.c	Wed Jul 27 08:48:52 2011 +0300
+++ b/Objects/stringobject.c	Wed Jul 27 23:36:51 2011 +0800
@@ -1727,7 +1727,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.");
@@ -1766,7 +1766,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.");