Inner classes seem to be given the wrong name or perhaps this is by
design. Could someone enlighten me? If I do:

namespace py = boost::python;
py::class_< T > outer( "Outer" );
py::scope( outer );
py::class_< U > inner( "Inner" );

then in python:

import module as M
print M.Outer.Inner

gives "M.Inner" which doesn't exist. I'm not sure it is important, it
just seems curious.

John.

_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to