Beispiel #1
0
// TODO returns the ...
//
// Return value: New Reference.
func (n *NumberProtocol) InPlaceFloorDivide(obj *Base) (*Base, error) {
	ret := C.PyNumber_InPlaceFloorDivide(cnp(n), obj.c())
	return obj2ObjErr(ret)
}
Beispiel #2
0
// TODO returns the ...
//
// Return value: New Reference.
func (n *NumberProtocol) InPlaceFloorDivide(obj Object) (Object, error) {
	ret := C.PyNumber_InPlaceFloorDivide(cnp(n), c(obj))
	return obj2ObjErr(ret)
}