PydObject.opBinary

Forwards to appropriate Python binary operator overload.

Note the result of / in python 3 (and python 2, if CO_FUTURE_DIVISION is set) is interpreted as "true division", otherwise it is integer division for integer arguments.

class PydObject
opBinary
(
string op
T
)
(
T o
)
if (
op != "in"
)

See Also

Meta