[C++-sig] python namespace
achim.domma at syynx.de
Thu Nov 21 18:15:22 CET 2002
> > handle<> inner_module(PyModule_New("Drawable"));
> > scope().attr("Drawable") = inner_module;
> > scope drawable = object(inner_module);
> I am not clear on what you mean ... do you mean it *compiles* and *works*
> fine with VC7 or just it *compiles* with VC7 ?
This version compiles and works, as far as I tested it, which is not very
much yet. But using dir(PythonMagick) I see the submodule 'Drawable' and
dir(PythonMagick.Drawable) works also as expected.
More information about the Cplusplus-sig