counterpart for Python None in C++ side

Daniel Yoo dyoo at hkn.eecs.berkeley.edu
Wed Aug 25 13:39:23 EDT 2004


Jinming Xu <cybermanxu at hotmail.com> wrote:
: Hi Folks,

: Could any of you please teach me what's the counterpart of Python None in 
: C++ side? Since I need to manipulate a Python None in C++.


There's a separate Py_None object that's accessible from the Python/C API:

    http://docs.python.org/api/noneObject.html


Is this what you're looking for?



More information about the Python-list mailing list