operator.__getitem__(a, b) Return the value of a at index b.
operator.iconcat(a, b) operator.__iconcat__(a, b) a = iconcat(a, b) is equivalent to a += b
operator.truth(obj) Return
operator.__sub__(a, b) Return a - b.
operator.attrgetter(attr) operator.attrgetter(*attrs) Return a callable object that fetches attr from its
operator.__abs__(obj) Return the absolute value of obj.
operator.__truediv__(a, b) Return a / b where 2/3 is .66 rather than 0. This is also known as “true” division.
operator.__imul__(a, b) a = imul(a, b) is equivalent to a *= b.
operator.__lt__(a, b) operator.__le__(a, b) operator.__eq__(a, b) operator
@functools.total_ordering Given a class defining one or more rich comparison ordering methods, this class decorator supplies
Page 7 of 13