code: def poll_ms(self):
          
          self._poll_ms, value = self.get_attr_int(self._poll_ms, 'poll_ms')
          return value
docs: Returns the polling period of the sensor in milliseconds. Writing sets the
          polling period. Setting to 0 disables polling. Minimum value is hard
          coded as 50 msec. Returns -EOPNOTSUPP if changing polling is not supported.
          Currently only I2C/NXT sensors support changing the polling period.