N
Neal Becker
I want python code that given an instance of a type, prints the type name,
like:
typename (0) -> 'int'
I know how to do this with the C-api, (o->tp_name), but how do I do it from
python?
type(0) prints "<type 'int'>", not really what I wanted.
like:
typename (0) -> 'int'
I know how to do this with the C-api, (o->tp_name), but how do I do it from
python?
type(0) prints "<type 'int'>", not really what I wanted.