__gmon_start__ _init _fini __cxa_finalize _Jv_RegisterClasses _PyObject_GC_New PyTuple_GetSlice PyObject_GC_Track PyExc_TypeError PyErr_SetString PyArg_UnpackTuple _Py_ZeroStruct _Py_TrueStruct PyObject_GetAttr PyObject_Call PyObject_GC_UnTrack PyObject_GC_Del _PyArg_NoKeywords strchr PyString_FromStringAndSize PyString_FromString _PyUnicodeUCS2_AsDefaultEncodedString PyTuple_New PyObject_GetItem PyObject_RichCompare PyArg_ParseTuple PySequence_DelSlice _Py_NoneStruct PySequence_SetSlice PySequence_GetSlice PyNumber_InPlacePower PyNumber_Power PyObject_DelItem PyObject_SetItem PySequence_InPlaceRepeat PySequence_InPlaceConcat PySequence_Repeat PySequence_Concat PyNumber_InPlaceOr PyNumber_InPlaceXor PyNumber_InPlaceAnd PyNumber_InPlaceRshift PyNumber_InPlaceLshift PyNumber_InPlaceRemainder PyNumber_InPlaceTrueDivide PyNumber_InPlaceFloorDivide PyNumber_InPlaceDivide PyNumber_InPlaceMultiply PyNumber_InPlaceSubtract PyNumber_InPlaceAdd PyNumber_Or PyNumber_Xor PyNumber_And PyObject_Not PyBool_FromLong PyNumber_Rshift PyNumber_Lshift PyNumber_Invert PyNumber_Absolute PyNumber_Positive PyNumber_Negative PyNumber_Remainder PyNumber_TrueDivide PyNumber_FloorDivide PyNumber_Divide PyNumber_Multiply PyNumber_Subtract PyNumber_Add PyNumber_Index PyMapping_Check PySequence_Count PyInt_FromSsize_t PySequence_Index Py_Py3kWarningFlag PySequence_Contains PyExc_DeprecationWarning PyErr_WarnEx PyObject_IsTrue PySequence_Check PyNumber_Check PyCallable_Check initoperator Py_InitModule4 PyType_Ready PyModule_AddObject PyObject_GenericGetAttr libc.so.6 _edata __bss_start _end GLIBC_2.1.3 GLIBC_2.0
methodcaller needs at least one argument, the method name attribute name must be a string operator.sequenceIncludes() is not supported in 3.x. Use operator.contains(). operator.isCallable() is not supported in 3.x. Use hasattr(obj, '__call__'). isCallable(a) -- Same as callable(a). isNumberType(a) -- Return True if a has a numeric type, False otherwise. isSequenceType(a) -- Return True if a has a sequence type, False otherwise. truth(a) -- Return True if a is true, False otherwise. contains(a, b) -- Same as b in a (note reversed operands). sequenceIncludes(a, b) -- Same as b in a (note reversed operands; deprecated). indexOf(a, b) -- Return the first index of b in a. countOf(a, b) -- Return the number of times b occurs in a. isMappingType(a) -- Return True if a has a mapping type, False otherwise. is_not(a, b) -- Same as a is not b. index(a) -- Same as a.__index__() div(a, b) -- Same as a / b when __future__.division is not in effect. floordiv(a, b) -- Same as a // b. truediv(a, b) -- Same as a / b when __future__.division is in effect. lshift(a, b) -- Same as a << b. rshift(a, b) -- Same as a >> b. a = iadd(a, b) -- Same as a += b. a = isub(a, b) -- Same as a -= b. a = imul(a, b) -- Same as a *= b. a = idiv(a, b) -- Same as a /= b when __future__.division is not in effect. a = ifloordiv(a, b) -- Same as a //= b. a = itruediv(a, b) -- Same as a /= b when __future__.division is in effect. a = imod(a, b) -- Same as a %= b. a = ilshift(a, b) -- Same as a <<= b. a = irshift(a, b) -- Same as a >>= b. a = iand(a, b) -- Same as a &= b. a = ixor(a, b) -- Same as a ^= b. a = ior(a, b) -- Same as a |= b. concat(a, b) -- Same as a + b, for a and b sequences. repeat(a, b) -- Return a * b, where a is a sequence, and b is an integer. a = iconcat(a, b) -- Same as a += b, for a and b sequences. a = irepeat(a, b) -- Same as a *= b, where a is a sequence, and b is an integer. getitem(a, b) -- Same as a[b]. setitem(a, b, c) -- Same as a[b] = c. delitem(a, b) -- Same as del a[b]. a = ipow(a, b) -- Same as a **= b. getslice(a, b, c) -- Same as a[b:c]. setslice(a, b, c, d) -- Same as a[b:c] = d. delslice(a, b, c) -- Same as del a[b:c]. is_not is_ attrgetter() itemgetter() op_getitem op_ge op_gt op_ne op_eq op_le op_lt Onn:delslice OnnO:setslice Onn:getslice ipow op_delitem op_setitem Oi:op_irepeat op_iconcat Oi:op_repeat op_concat op_ior op_ixor op_iand op_irshift op_ilshift op_imod op_itruediv op_ifloordiv op_idiv op_imul op_isub op_iadd op_or_ op_xor op_and_ op_rshift op_lshift op_mod op_truediv op_floordiv op_div op_mul op_sub op_add countOf indexOf sequenceIncludes op_contains operator isCallable isNumberType isSequenceType truth __contains__ isMappingType is_(a, b) -- Same as a is b. index __index__ add(a, b) -- Same as a + b. __add__ sub(a, b) -- Same as a - b. __sub__ mul(a, b) -- Same as a * b. __mul__ __div__ __floordiv__ __truediv__ mod(a, b) -- Same as a % b. __mod__ neg neg(a) -- Same as -a. __neg__ pos pos(a) -- Same as +a. __pos__ abs abs(a) -- Same as abs(a). __abs__ inv inv(a) -- Same as ~a. __inv__ invert invert(a) -- Same as ~a. __invert__ __lshift__ __rshift__ not_ not_(a) -- Same as not a. __not__ and_(a, b) -- Same as a & b. __and__ xor(a, b) -- Same as a ^ b. __xor__ or_(a, b) -- Same as a | b. __or__ __iadd__ __isub__ __imul__ __idiv__ __ifloordiv__ __itruediv__ __imod__ __ilshift__ __irshift__ __iand__ __ixor__ __ior__ __concat__ __repeat__ __iconcat__ __irepeat__ __getitem__ __setitem__ __delitem__ pow(a, b) -- Same as a ** b. __pow__ __ipow__ __getslice__ __setslice__ __delslice__ lt(a, b) -- Same as a
b. __gt__ ge(a, b) -- Same as a>=b. __ge__ operator.itemgetter operator.attrgetter operator.methodcaller
@t Operator interface. This module exports a set of functions implemented in C corresponding to the intrinsic operators of Python. For example, operator.add(x, y) is equivalent to the expression x+y. The function names are those used for special methods; variants without leading and trailing '__' are also provided for convenience. itemgetter(item, ...) --> itemgetter object Return a callable object that fetches the given item(s) from its operand. After f = itemgetter(2), the call f(r) returns r[2]. After g = itemgetter(2, 5, 3), the call g(r) returns (r[2], r[5], r[3]) attrgetter(attr, ...) --> attrgetter object Return a callable object that fetches the given attribute(s) from its operand. After f = attrgetter('name'), the call f(r) returns r.name. After g = attrgetter('name', 'date'), the call g(r) returns (r.name, r.date). After h = attrgetter('name.first', 'name.last'), the call h(r) returns (r.name.first, r.name.last). methodcaller(name, ...) --> methodcaller object Return a callable object that calls the given method on its operand. After f = methodcaller('name'), the call f(r) returns r.name(). After g = methodcaller('name', 'date', foo=1), the call g(r) returns r.name('date', foo=1). O 0C 8F O B `F O B F O pB F O A 0G O A 0G O A lG O @ G }O @ G O ? ,H M % O M $ xH P ? H P ? H yO @? (P DP @? (P rO > LP hP > LP kO `> pP P `> pP dO = H P = H XO = I P = I MO = ,I P = ,I FO < P P < P P < P P < P P `< P Q `< P Q @< !Q ;Q @< !Q CQ < GQ ]Q < GQ eQ < lQ Q < lQ