diff options
| author | Georg Brandl <georg@python.org> | 2007-07-29 17:37:22 (GMT) | 
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2007-07-29 17:37:22 (GMT) | 
| commit | b4d100cf2d694b98defcfdae3b6fdff059da3b62 (patch) | |
| tree | de5f36bc7f000a9771a6c4216a98f15cb27c951d /Objects/stringobject.c | |
| parent | 00247d85bdedddec53b16b5a410b9e615dfa2766 (diff) | |
| download | cpython-b4d100cf2d694b98defcfdae3b6fdff059da3b62.zip cpython-b4d100cf2d694b98defcfdae3b6fdff059da3b62.tar.gz cpython-b4d100cf2d694b98defcfdae3b6fdff059da3b62.tar.bz2  | |
Bug #1763149: use proper slice syntax in docstring.
 (backport)
Diffstat (limited to 'Objects/stringobject.c')
| -rw-r--r-- | Objects/stringobject.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c index 5d343bd..12fbaed 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -1890,7 +1890,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."); @@ -1929,7 +1929,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.");  | 
