tuple creation in C extensions

Peter Schneider-Kamp petersc at stud.ntnu.no
Sat Jun 10 17:25:59 EDT 2000


Peter Schneider-Kamp wrote:
> 
> I have to create a tuple (of two integer values) in a
> C extension. At the moment I use the following (rather
> ugly in my eyes) construction:

As an afterthought. Are there any reference counting things I
have to deal with in this example?
--
Peter Schneider-Kamp          ++47-7388-7331
Herman Krags veg 51-11        mailto:peter at schneider-kamp.de
N-7050 Trondheim              http://schneider-kamp.de




More information about the Python-list mailing list