pyDrivers question

Hi I have a little question according to pydrivers

for getting rotation on x axis of any object I simply type:

b.Object.Get('something').RotX

but how to get rotation of bone