PWM example anyone?

I see from the documentation that PWM.list() should list the available channels.

When using upload to pi or directly on the pi nothing gets printed out.
When running on macOS two channels get printed.

Is this fully functional yet?
I have rpi model: BCM2835 a01041 2B revision 1.1