incref on inplace number protocol

This commit is contained in:
Nikolay Kim 2017-05-31 01:07:21 -07:00
parent 5d25c7deea
commit a3e6117090

View file

@ -190,6 +190,7 @@ macro_rules! py_binary_self_func{
match result {
Ok(_) => {
ffi::Py_INCREF(slf);
slf
}
Err(e) => {