python to C expression