def pack(self, data):
        """See :func:`~bitstruct.pack_dict()`.

        """

        try:
            return self.pack_any(data)
        except KeyError as e:
            raise Error('{} not found in data dictionary'.format(str(e)))
def pack(self, data):
        """See :func:`~bitstruct.pack_dict()`.

        """

        try:
            return self.pack_any(data)
        except KeyError as e:
            raise Error('{} not found in data dictionary'.format(str(e)))
def pack ( self , data ) : try : return self . pack_any ( data ) except KeyError as e : raise Error ( '{} not found in data dictionary' . format ( str ( e ) ) )
See :func:`~bitstruct.pack_dict()`.
See : func : ~bitstruct . pack_dict () .