[Python-Dev] Re: creating struct-seq types from Python

Fred L. Drake, Jr. fdrake@acm.org
2002年10月17日 14:54:06 -0400


Martin v. Loewis writes:
 > Not really, but I think all you need to do is to expose
 > PyStructSequence_InitType. I would recommend an interface like
 > 
 > struct_seq(name, doc, n_in_sequence, (fields))
Sounds like a plan! I've assigned this to me, since I'm the one
asking for this. ;-)
 -Fred
-- 
Fred L. Drake, Jr. <fdrake at acm.org>
PythonLabs at Zope Corporation

AltStyle によって変換されたページ (->オリジナル) /