def __getstate__(self):  # pragma: no cover
        """Used for pickling"""
        return {
            'd': self._d,
            's': self._s,
            'offset': self._offset,
            'scale': self.scale,
            'eop': self.eop,
        }
def __getstate__ ( self ) : return { 'd' : self . _d , 's' : self . _s , 'offset' : self . _offset , 'scale' : self . scale , 'eop' : self . eop , }
Used for pickling