// InPlaceRshift returns the result of right shifting n by obj. This is done in // place if supported by n. The equivalent Python is "n >>= obj". // // Return value: New Reference. func (n *NumberProtocol) InPlaceRshift(obj *Base) (*Base, error) { ret := C.PyNumber_InPlaceRshift(cnp(n), obj.c()) return obj2ObjErr(ret) }
// InPlaceRshift returns the result of right shifting n by obj. This is done in // place if supported by n. The equivalent Python is "n >>= obj". // // Return value: New Reference. func (n *NumberProtocol) InPlaceRshift(obj Object) (Object, error) { ret := C.PyNumber_InPlaceRshift(cnp(n), c(obj)) return obj2ObjErr(ret) }