]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fixed doubled word typos.
authorRaymond Hettinger <python@rcn.com>
Mon, 25 Aug 2003 04:44:33 +0000 (04:44 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 25 Aug 2003 04:44:33 +0000 (04:44 +0000)
Doc/api/newtypes.tex
Doc/ref/ref3.tex

index 2c5982d84bc29aae0523b30120a36e16a12d19fc..f0af8109a34203bf861c9d914ec045c573fd1891 100644 (file)
@@ -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}
 
index 36c8c3871a4d5cf66a7b4f9fb79772ff1bbd52fb..2ab1a0165b733fefa16098ad98faf013b442a6ba 100644 (file)
@@ -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.