mirror of
https://github.com/boostorg/python.git
synced 2026-01-22 17:32:55 +00:00
remove sole use of expect_and_absorb_non_null
[SVN r8229]
This commit is contained in:
@@ -426,7 +426,7 @@ int Instance::setattr(const char* name, PyObject* value)
|
||||
// If we found an appropriate special method, handle the return value.
|
||||
if (special_method.get() != 0)
|
||||
{
|
||||
expect_and_absorb_non_null(result_object);
|
||||
Ptr manage_result(result_object);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user