extension modules in C for python, check for korrekt Object
Greg Ewing
greg at cosc.canterbury.ac.nz
Tue Jun 1 23:26:48 EDT 2004
Torsten Mohr wrote:
> At the moment i write some methods that expect some
> of these types as parameters. I now want to check
> that the right types were given as parameters.
Use PyObject_IsInstance().
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
More information about the Python-list
mailing list