Python Static Variable Vs Static Method In C