s the constraints.

        :param version: The version to match against this instance.
        :type version: String or :class:`Version` instance.
        z