c++ - None in boost.python -
I am trying to translate the following code
d = {} d [0] = any
with boost.python in C ++
boost :: python :: dict d; D [0] =? None
How can I get any item in boost.python?
boost :: python :: object
is not a constructor PyObject *
(I think, for example, a CTO such as mapping the python types to C ++ types invalidates the whole idea, because PyObject * can be anything). According to:
object ();
Effects: Python
Any
object.
Comments
Post a Comment