incref on inplace number protocol

This commit is contained in:
Nikolay Kim 2017-05-31 01:07:21 -07:00
parent 5d25c7deea
commit a3e6117090
1 changed files with 1 additions and 0 deletions

View File

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