@@ -515,7 +515,7 @@ def __eq__(self: array, other: Union[int, float, bool, array], /) -> array:
515
515
Element-wise results, including special cases, must equal the results returned by the equivalent element-wise function :func:`~array_api.equal`.
516
516
517
517
.. note::
518
- Comparisons of arrays without a corresponding promotable data type (see :ref:`type-promotion`) is undefined and thus implementation-dependent.
518
+ Comparison of arrays without a corresponding promotable data type (see :ref:`type-promotion`) is undefined and thus implementation-dependent.
519
519
"""
520
520
521
521
def __float__ (self : array , / ) -> float :
@@ -604,7 +604,7 @@ def __ge__(self: array, other: Union[int, float, array], /) -> array:
604
604
Element-wise results must equal the results returned by the equivalent element-wise function :func:`~array_api.greater_equal`.
605
605
606
606
.. note::
607
- Comparisons of arrays without a corresponding promotable data type (see :ref:`type-promotion`) is undefined and thus implementation-dependent.
607
+ Comparison of arrays without a corresponding promotable data type (see :ref:`type-promotion`) is undefined and thus implementation-dependent.
608
608
"""
609
609
610
610
def __getitem__ (
@@ -659,7 +659,7 @@ def __gt__(self: array, other: Union[int, float, array], /) -> array:
659
659
Element-wise results must equal the results returned by the equivalent element-wise function :func:`~array_api.greater`.
660
660
661
661
.. note::
662
- Comparisons of arrays without a corresponding promotable data type (see :ref:`type-promotion`) is undefined and thus implementation-dependent.
662
+ Comparison of arrays without a corresponding promotable data type (see :ref:`type-promotion`) is undefined and thus implementation-dependent.
663
663
"""
664
664
665
665
def __index__ (self : array , / ) -> int :
@@ -757,9 +757,6 @@ def __invert__(self: array, /) -> array:
757
757
758
758
.. note::
759
759
Element-wise results must equal the results returned by the equivalent element-wise function :func:`~array_api.bitwise_invert`.
760
-
761
- .. note::
762
- Comparisons of arrays without a corresponding promotable data type (see :ref:`type-promotion`) is undefined and thus implementation-dependent.
763
760
"""
764
761
765
762
def __le__ (self : array , other : Union [int , float , array ], / ) -> array :
@@ -786,7 +783,7 @@ def __le__(self: array, other: Union[int, float, array], /) -> array:
786
783
Element-wise results must equal the results returned by the equivalent element-wise function :func:`~array_api.less_equal`.
787
784
788
785
.. note::
789
- Comparisons of arrays without a corresponding promotable data type (see :ref:`type-promotion`) is undefined and thus implementation-dependent.
786
+ Comparison of arrays without a corresponding promotable data type (see :ref:`type-promotion`) is undefined and thus implementation-dependent.
790
787
"""
791
788
792
789
def __lshift__ (self : array , other : Union [int , array ], / ) -> array :
@@ -959,7 +956,7 @@ def __ne__(self: array, other: Union[int, float, bool, array], /) -> array:
959
956
Element-wise results, including special cases, must equal the results returned by the equivalent element-wise function :func:`~array_api.not_equal`.
960
957
961
958
.. note::
962
- Comparisons of arrays without a corresponding promotable data type (see :ref:`type-promotion`) is undefined and thus implementation-dependent.
959
+ Comparison of arrays without a corresponding promotable data type (see :ref:`type-promotion`) is undefined and thus implementation-dependent.
963
960
964
961
.. versionchanged:: 2022.12
965
962
Added complex data type support.
0 commit comments