making attributes visible in C wrapper
Ahmed Bouferguene
ahmed.bouferguene at Newlix.com
Thu May 24 16:06:53 EDT 2001
Greetings,
Can anybody tell me what is the way to make visible the attributes of a
new type in a C wrapper.
I have a module x in which I define a new type Y.
I have defined Y_getattr( ) but so far I was only able to make the
functions operating on Y visible (by dir on an instance of Y) by
Py_FindMethod( ).
What is the general way to make methods and other attributes visible by
dir.
Thanks
More information about the Python-list
mailing list