mirror of
https://github.com/boostorg/python.git
synced 2026-01-21 17:12:22 +00:00
class_<> is now derived from object
[SVN r14594]
This commit is contained in:
@@ -37,7 +37,7 @@ void module_base::setattr(char const* name, handle<> const& x)
|
||||
{
|
||||
// Use function::add_to_namespace to achieve overloading if
|
||||
// appropriate.
|
||||
objects::function::add_to_namespace(m_module, name, x);
|
||||
objects::function::add_to_namespace(python::object(m_module), name, python::object(x));
|
||||
}
|
||||
|
||||
void module_base::add(type_handle const& x)
|
||||
|
||||
Reference in New Issue
Block a user