Gabriel Genellina
3/16/2010 6:46:00 AM
En Sun, 07 Mar 2010 10:50:59 -0300, moerchendiser2k3
<googler.1.webmaster@spamgourmet.com> escribió:
> can anyone tell me how to return a time_struct from the timemodule in
> my own C-Module?
> Is that possible? I can just find one function in timefuncs.h, but it
> doesnt return any PyObject.
The type is available as the struct_time attribute in the time module; you
create an instance by calling it with a 9-items sequence.
--
Gabriel Genellina