Python Sched Module Class Implementation C