public static PyObject __xor__(PyObject self, PyObject other) { var orded = PyBoolClass.extractInt(self) ^ PyBoolClass.extractInt(other); return(PyInteger.Create(orded)); }
public static PyObject __lshift__(PyObject self, PyObject other) { var orded = (int)PyBoolClass.extractInt(self) << (int)PyBoolClass.extractInt(other); return(PyInteger.Create(orded)); }
public static PyObject __and__(PyObject self, PyObject other) { var anded = PyBoolClass.extractInt(self) & PyBoolClass.extractInt(other); return(PyInteger.Create(anded)); }