2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-23 05:42:30 +00:00

Updated to use BoundFunction::create() optimization

[SVN r8223]
This commit is contained in:
Dave Abrahams
2000-11-15 17:30:45 +00:00
parent f055f9e602
commit 5cd59a471e

View File

@@ -343,7 +343,7 @@ PyObject* Instance::getattr(const char* name, bool use_special_function)
}
else
{
return new BoundFunction(Ptr(this, Ptr::borrowed), class_attribute);
return BoundFunction::create(Ptr(this, Ptr::borrowed), class_attribute);
}
}