• Home
  • Raw
  • Download

Lines Matching refs:spam2

16 #define spam2(OP,AOP) static PyObject *OP(PyObject *s, PyObject *a) { \  macro
90 spam2(op_add , PyNumber_Add) in spami()
91 spam2(op_sub , PyNumber_Subtract) in spami()
92 spam2(op_mul , PyNumber_Multiply) in spami()
93 spam2(op_div , PyNumber_Divide) in spami()
94 spam2(op_floordiv , PyNumber_FloorDivide) in spami()
95 spam2(op_truediv , PyNumber_TrueDivide) in spami()
96 spam2(op_mod , PyNumber_Remainder) in spami()
102 spam2(op_lshift , PyNumber_Lshift) in spami()
103 spam2(op_rshift , PyNumber_Rshift) in spami()
105 spam2(op_and_ , PyNumber_And) in spami()
106 spam2(op_xor , PyNumber_Xor) in spami()
107 spam2(op_or_ , PyNumber_Or) in spami()
108 spam2(op_iadd , PyNumber_InPlaceAdd) in spami()
109 spam2(op_isub , PyNumber_InPlaceSubtract) in spami()
110 spam2(op_imul , PyNumber_InPlaceMultiply) in spami()
111 spam2(op_idiv , PyNumber_InPlaceDivide) in spami()
112 spam2(op_ifloordiv , PyNumber_InPlaceFloorDivide) in spami()
113 spam2(op_itruediv , PyNumber_InPlaceTrueDivide) in spami()
114 spam2(op_imod , PyNumber_InPlaceRemainder) in spami()
115 spam2(op_ilshift , PyNumber_InPlaceLshift) in spami()
116 spam2(op_irshift , PyNumber_InPlaceRshift) in spami()
117 spam2(op_iand , PyNumber_InPlaceAnd) in spami()
118 spam2(op_ixor , PyNumber_InPlaceXor) in spami()
119 spam2(op_ior , PyNumber_InPlaceOr) in spami()
121 spam2(op_concat , PySequence_Concat) in spami()
123 spam2(op_iconcat , PySequence_InPlaceConcat) in spami()
130 spam2(op_getitem , PyObject_GetItem) in spami()
228 #undef spam2
232 #define spam2(OP,ALTOP,DOC) {#OP, op_##OP, METH_VARARGS, PyDoc_STR(DOC)}, \ macro
374 spam2(contains,__contains__,
388 spam2(add,__add__, "add(a, b) -- Same as a + b.")
389 spam2(sub,__sub__, "sub(a, b) -- Same as a - b.")
390 spam2(mul,__mul__, "mul(a, b) -- Same as a * b.")
391 spam2(div,__div__, "div(a, b) -- Same as a / b when __future__.division is not in effect.")
392 spam2(floordiv,__floordiv__, "floordiv(a, b) -- Same as a // b.")
393 spam2(truediv,__truediv__, "truediv(a, b) -- Same as a / b when __future__.division is in effect.")
394 spam2(mod,__mod__, "mod(a, b) -- Same as a % b.")
400 spam2(lshift,__lshift__, "lshift(a, b) -- Same as a << b.")
401 spam2(rshift,__rshift__, "rshift(a, b) -- Same as a >> b.")
403 spam2(and_,__and__, "and_(a, b) -- Same as a & b.")
404 spam2(xor,__xor__, "xor(a, b) -- Same as a ^ b.")
405 spam2(or_,__or__, "or_(a, b) -- Same as a | b.")
406 spam2(iadd,__iadd__, "a = iadd(a, b) -- Same as a += b.")
407 spam2(isub,__isub__, "a = isub(a, b) -- Same as a -= b.")
408 spam2(imul,__imul__, "a = imul(a, b) -- Same as a *= b.")
409 spam2(idiv,__idiv__, "a = idiv(a, b) -- Same as a /= b when __future__.division is not in effect.")
410 spam2(ifloordiv,__ifloordiv__, "a = ifloordiv(a, b) -- Same as a //= b.")
411 spam2(itruediv,__itruediv__, "a = itruediv(a, b) -- Same as a /= b when __future__.division is in e…
412 spam2(imod,__imod__, "a = imod(a, b) -- Same as a %= b.")
413 spam2(ilshift,__ilshift__, "a = ilshift(a, b) -- Same as a <<= b.")
414 spam2(irshift,__irshift__, "a = irshift(a, b) -- Same as a >>= b.")
415 spam2(iand,__iand__, "a = iand(a, b) -- Same as a &= b.")
416 spam2(ixor,__ixor__, "a = ixor(a, b) -- Same as a ^= b.")
417 spam2(ior,__ior__, "a = ior(a, b) -- Same as a |= b.")
418 spam2(concat,__concat__,
420 spam2(repeat,__repeat__,
422 spam2(iconcat,__iconcat__,
424 spam2(irepeat,__irepeat__,
426 spam2(getitem,__getitem__,
428 spam2(setitem,__setitem__,
430 spam2(delitem,__delitem__,
432 spam2(pow,__pow__, "pow(a, b) -- Same as a ** b.")
433 spam2(ipow,__ipow__, "a = ipow(a, b) -- Same as a **= b.")
434 spam2(getslice,__getslice__,
436 spam2(setslice,__setslice__,
438 spam2(delslice,__delslice__,
440 spam2(lt,__lt__, "lt(a, b) -- Same as a<b.")
441 spam2(le,__le__, "le(a, b) -- Same as a<=b.")
442 spam2(eq,__eq__, "eq(a, b) -- Same as a==b.")
443 spam2(ne,__ne__, "ne(a, b) -- Same as a!=b.")
444 spam2(gt,__gt__, "gt(a, b) -- Same as a>b.")
445 spam2(ge,__ge__, "ge(a, b) -- Same as a>=b.")