Skip to content

quaxed.operator¤

quaxed.operator ¤

Quaxed operator.

This module wraps the functions in operator with quax.quaxify. The wrapping happens dynamically through a module-level __dir__ and __getattr__. The list of available functions is in __all__ and documented in the built-in operator library.

__all__ = ('abs', 'add', 'and_', 'attrgetter', 'call', 'concat', 'contains', 'countOf', 'delitem', 'eq', 'floordiv', 'ge', 'getitem', 'gt', 'index', 'indexOf', 'inv', 'invert', 'is_', 'is_not', 'itemgetter', 'le', 'length_hint', 'lshift', 'lt', 'matmul', 'methodcaller', 'mod', 'mul', 'ne', 'neg', 'not_', 'or_', 'pos', 'pow', 'rshift', 'setitem', 'sub', 'truediv', 'truth', 'xor') module-attribute ¤

Built-in immutable sequence.

If no argument is given, the constructor returns an empty tuple. If iterable is specified the tuple is initialized from iterable's items.

If the argument is a tuple, the return value is the same object.