diff options
author | Raymond Hettinger <python@rcn.com> | 2003-08-25 04:39:55 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-08-25 04:39:55 (GMT) |
commit | e41d4c8ec9b837bd85a1c108b778bed81a86a0db (patch) | |
tree | a3c60cf73436212b82c30dc55b895bb3398e81ad /Doc | |
parent | 999b57c872fe3bf3b5df347c21bcf42bb393a186 (diff) | |
download | cpython-e41d4c8ec9b837bd85a1c108b778bed81a86a0db.zip cpython-e41d4c8ec9b837bd85a1c108b778bed81a86a0db.tar.gz cpython-e41d4c8ec9b837bd85a1c108b778bed81a86a0db.tar.bz2 |
Added doubled word warnings.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/ref/ref3.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/ref/ref3.tex b/Doc/ref/ref3.tex index 36c8c38..2ab1a01 100644 --- a/Doc/ref/ref3.tex +++ b/Doc/ref/ref3.tex @@ -1740,7 +1740,7 @@ in a negative index); this is the customary handling of negative indexes by the built-in sequence types, and the \method{__*item__()} methods are expected to do this as well. However, since they should already be doing that, negative indexes cannot be passed in; they must -be be constrained to the bounds of the sequence before being passed to +be constrained to the bounds of the sequence before being passed to the \method{__*item__()} methods. Calling \code{max(0, i)} conveniently returns the proper value. |