def strptime(cls, data, format, scale=DEFAULT_SCALE):  # pragma: no cover
        """Convert a string representation of a date to a Date object
        """
        return cls(datetime.strptime(data, format), scale=scale)
def strptime ( cls , data , format , scale = DEFAULT_SCALE ) : return cls ( datetime . strptime ( data , format ) , scale = scale )
Convert a string representation of a date to a Date object