• Guido van Rossum's avatar
    Same treatment as listobject.c: · 9d19cb8a
    Guido van Rossum yazdı
    - 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.
    9d19cb8a
arraymodule.c 36.8 KB