2
0
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:
Dave Abrahams
2000-11-16 17:14:04 +00:00
parent b84e3a7983
commit bc922755f3

View File

@@ -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;
}