soupy.py
def dictzip(self, keys):
        """
        Turn this collection into a Scalar(dict), by zipping keys and items.

        Parameters:

            keys: list or Collection of NavigableStrings
                The keys of the dictionary

        Examples:

            >>> c = Collection([Scalar(1), Scalar(2)])
            >>> c.dictzip(['a', 'b']).val() == {'a': 1, 'b': 2}
            True
        """
        return Scalar(dict(zip(_unwrap(keys), self.val())))
def dictzip(self, keys):
        """
        Turn this collection into a Scalar(dict), by zipping keys and items.

        Parameters:

            keys: list or Collection of NavigableStrings
                The keys of the dictionary

        Examples:

            >>> c = Collection([Scalar(1), Scalar(2)])
            >>> c.dictzip(['a', 'b']).val() == {'a': 1, 'b': 2}
            True
        """
        return Scalar(dict(zip(_unwrap(keys), self.val())))
Turn this collection into a Scalar(dict), by zipping keys and items.

        Parameters:

            keys: list or Collection of NavigableStrings
                The keys of the dictionary

        Examples:

            >>> c = Collection([Scalar(1), Scalar(2)])
            >>> c.dictzip(['a', 'b']).val() == {'a': 1, 'b': 2}
            True