]> granicus.if.org Git - python/commitdiff
Typos in new comments.
authorTim Peters <tim.peters@gmail.com>
Fri, 1 Oct 2004 01:35:54 +0000 (01:35 +0000)
committerTim Peters <tim.peters@gmail.com>
Fri, 1 Oct 2004 01:35:54 +0000 (01:35 +0000)
Modules/collectionsmodule.c

index 03e09c9de08ed311c8d33a39e79349c564c25e67..f8a6f612205f0ff4e2f633e4fa627a19cb198e20 100644 (file)
  * and the rightmost block has rightlink==NULL).  A deque d's first
  * element is at d.leftblock[leftindex] and its last element is at
  * d.rightblock[rightindex]; note that, unlike as for Python slice
- * indices, this indices are inclusive on both ends.
+ * indices, these indices are inclusive on both ends.
  * The list of blocks is never empty.  An empty deque d has
  * d.leftblock == d.rightblock != NULL; d.len == 0; and
  * d.leftindex > d.rightindex; checking for d.len == 0 is the intended
  * way to see whether d is empty.
  * Note that since d.leftindex and d.rightindex may be indices into
- * distinct blocks (and certainly are, for and d with len(d) > BLOCKLEN),
+ * distinct blocks (and certainly are, for any d with len(d) > BLOCKLEN),
  * it's not generally true that d.leftindex <= d.rightindex.
  */