]> granicus.if.org Git - python/commit
Same treatment as listobject.c:
authorGuido van Rossum <guido@python.org>
Thu, 18 Jan 2001 01:02:55 +0000 (01:02 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 18 Jan 2001 01:02:55 +0000 (01:02 +0000)
commit9d19cb8a70544ced7ec9a7995a31d1ed708d4841
tree46eae679d7cde026ec7d9c187b79787d4357ad65
parentb932420cc7808862bc7e87dad7b44748f7735012
Same treatment as listobject.c:

- In count(), remove(), index(): call RichCompare(Py_EQ).

- Get rid of array_compare(), in favor of new array_richcompare() (a
  near clone of list_compare()).

- Aligned items in array_methods initializer and comments for type
  struct initializer.

- Folded a few long lines.
Modules/arraymodule.c