Documentation on creating new types with slots in C ?
theller at python.net
Fri Oct 17 17:20:49 CEST 2003
Alex Martelli <aleax at aleax.it> writes:
> Boris Boutillier wrote:
>> Hi all,
>> Of what I heard Python 2.3 now allow creation of new types in C with
>> Is there somewhere some documentation on this, or at least an example ?
> I'm not sure what you mean by "with slots" in this context. Creating
> new types is well documented at:
> and descriptors, assuming that might be what you mean by 'slots',
> at http://users.rcn.com/python/download/Descriptor.htm (all the
> examples there are in Python, but it should be easy for you to
> translate them into C).
I would guess he means this:
and I would also be interested in an example.
More information about the Python-list