set Always sensor frequency (in python)

Is it possible to set the frequency of an always sensor in python?
If so, how?

Oh, I found the answer myself;
sensor.frequency = …
I just tried this and it worked :smiley:
Sorry for spamming this question while I just found the answer myself.
But I asked this because I was not able to find it on this site: