// Divide returns the result of dividing n by obj. The equivalent Python is "n // / obj". // // Return value: New Reference. func (n *NumberProtocol) Divide(obj *Base) (*Base, error) { ret := C.PyNumber_Divide(cnp(n), obj.c()) return obj2ObjErr(ret) }
// Divide returns the result of dividing n by obj. The equivalent Python is "n // / obj". // // Return value: New Reference. func (n *NumberProtocol) Divide(obj Object) (Object, error) { ret := C.PyNumber_Divide(cnp(n), c(obj)) return obj2ObjErr(ret) }