// FloorDivide returns the floor of dividing n obj obj. // // Return value: New Reference. func (n *NumberProtocol) FloorDivide(obj *Base) (*Base, error) { ret := C.PyNumber_FloorDivide(cnp(n), obj.c()) return obj2ObjErr(ret) }
// FloorDivide returns the floor of dividing n obj obj. // // Return value: New Reference. func (n *NumberProtocol) FloorDivide(obj Object) (Object, error) { ret := C.PyNumber_FloorDivide(cnp(n), c(obj)) return obj2ObjErr(ret) }