def __init__(self, iterable):
        '''Construct a Queryable from any iterable.

        Args:
            iterable: Any object supporting the iterator protocol.

        Raises:
            TypeError: if iterable does not support the iterator protocol.
        '''
        if not is_iterable(iterable):
            raise TypeError("Cannot construct Queryable from non-iterable {0}"
                            .format(str(type(iterable))[7: -2]))

        self._iterable = iterable
def __init__ ( self , iterable ) : if not is_iterable ( iterable ) : raise TypeError ( "Cannot construct Queryable from non-iterable {0}" . format ( str ( type ( iterable ) ) [ 7 : - 2 ] ) ) self . _iterable = iterable
Construct a Queryable from any iterable.

        Args:
            iterable: Any object supporting the iterator protocol.

        Raises:
            TypeError: if iterable does not support the iterator protocol.