operator.__contains__(a, b) Return the outcome of the test b in a. Note the reversed operands.
operator.__imatmul__(a, b) a = imatmul(a, b) is equivalent to a @= b.
operator.__isub__(a, b) a = isub(a, b) is equivalent to a -= b.
operator.__lshift__(a, b) Return a shifted left by b.
operator.itruediv(a, b) operator.__itruediv__(a, b) a = itruediv(a, b) is equivalent to a /=
operator.__inv__(obj) operator.__invert__(obj) Return the bitwise inverse of the number obj. This is equivalent
operator.__rshift__(a, b) Return a shifted right by b.
partial.args The leftmost positional arguments that will be prepended to the positional arguments provided to a partial
functools.cmp_to_key(func) Transform an old-style comparison function to a key function
itertools.dropwhile(predicate, iterable) Make an iterator that drops elements from the iterable as long as the predicate is
Page 12 of 13