operator.__le__(a, b) operator.__eq__(a, b) operator.__ne__(a, b) operator
operator.contains(a, b) operator.__contains__(a, b) Return the outcome of the test b in a. Note the
@functools.total_ordering Given a class defining one or more rich comparison ordering methods, this class decorator supplies
operator.__delitem__(a, b) Remove the value of a at index b.
operator.__lt__(a, b) operator.__le__(a, b) operator.__eq__(a, b) operator
operator.imod(a, b) operator.__imod__(a, b) a = imod(a, b) is equivalent to a %= b.
operator.__sub__(a, b) Return a - b.
operator.imatmul(a, b) operator.__imatmul__(a, b) a = imatmul(a, b) is equivalent to a @= b
operator.methodcaller(name[, args...]) Return a callable object that calls the method name on its operand. If additional
operator.__getitem__(a, b) Return the value of a at index b.
Page 8 of 13