def iter_intersect_test(self, iterable, key=None, descending=False):
        """Performs containment tests on a sorted list of versions.

        This is more optimal than performing separate containment tests on a
        list of sorted versions.

        Args:
            iterable: An ordered sequence of versioned objects. If the list
                is not sorted by version, behaviour is undefined.
            key (callable): Function that returns a `Version` given an object
                from `iterable`. If None, the identity function is used.
            descending (bool): Set to True if `iterable` is in descending
                version order.

        Returns:
            An iterator that returns (bool, object) tuples, where 'object' is
            the original object in `iterable`, and the bool indicates whether
            that version is contained in this range.
        """
        return _ContainsVersionIterator(self, iterable, key, descending)
def iter_intersect_test ( self , iterable , key = None , descending = False ) : return _ContainsVersionIterator ( self , iterable , key , descending )
Performs containment tests on a sorted list of versions.

        This is more optimal than performing separate containment tests on a
        list of sorted versions.

        Args:
            iterable: An ordered sequence of versioned objects. If the list
                is not sorted by version, behaviour is undefined.
            key (callable): Function that returns a `Version` given an object
                from `iterable`. If None, the identity function is used.
            descending (bool): Set to True if `iterable` is in descending
                version order.

        Returns:
            An iterator that returns (bool, object) tuples, where 'object' is
            the original object in `iterable`, and the bool indicates whether
            that version is contained in this range.