2
0
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:
Dave Abrahams
2002-07-25 04:41:21 +00:00
parent f458dbdbcb
commit 63eed8994a
13 changed files with 115 additions and 72 deletions

View File

@@ -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)