Definition The method test the equality of the values. Syntax operator.eq(a,b) __eq__ Parameters a=value b=value Import module Importing module is required in the Shell window and the Editor window. Examples The method return with the result about the equality of list.
In this test, method tests the equality between tuple.
a==b The method also test the equality between the value.
operator.__eq__(a,b) The method equal to operator.eq(a,b).
__eq__ The set comparison results in False.
The method operator.inv() is equal to operator.invert() or not .
The equality is tested between pow(a,b) and operator.ipow(a,b):
| operators
|