示例#1
0
文件: number.go 项目: MogeiWang/py
// 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)
}
示例#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)
}