From: Raymond Hettinger Date: Mon, 25 Aug 2003 04:44:33 +0000 (+0000) Subject: Fixed doubled word typos. X-Git-Tag: v2.3.1~132 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d19a27593e7b7f1eea5bcb5b3eb964936dacb618;p=thirdparty%2FPython%2Fcpython.git Fixed doubled word typos. --- diff --git a/Doc/api/newtypes.tex b/Doc/api/newtypes.tex index 2c5982d84bc2..f0af8109a342 100644 --- a/Doc/api/newtypes.tex +++ b/Doc/api/newtypes.tex @@ -22,7 +22,7 @@ defining new object types. Initialize a newly-allocated object \var{op} with its type and initial reference. Returns the initialized object. If \var{type} indicates that the object participates in the cyclic garbage - detector, it it added to the detector's set of observed objects. + detector, it is added to the detector's set of observed objects. Other fields of the object are not affected. \end{cfuncdesc} diff --git a/Doc/ref/ref3.tex b/Doc/ref/ref3.tex index 36c8c3871a4d..2ab1a0165b73 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.