[Python-Dev] Using argument clinic to replace timemodule.c:parse_time_t_args()
Serhiy Storchaka
storchaka at gmail.com
Mon Jan 20 14:38:56 CET 2014
20.01.14 06:19, Nikolaus Rath написав(ла):
> This works if the user calls time.gmtime(None), but it fails for
> time.gmtime(). It seems that in that case my C converter function is
> never called.
>
> What's the trick that I'm missing?
/*[clinic input]
time.gmtime
[
seconds: time_t
]
/
[clinic start generated code]*/
More information about the Python-Dev
mailing list