#NEWLINE# def deserialize( format , stream_or_string ) : #NEWLINE# #INDENT# '\n    Deserialize a stream or a string. Returns an iterator that yields ``(obj,\n    m2m_relation_dict)``, where ``obj`` is a instantiated -- but *unsaved* --\n    object, and ``m2m_relation_dict`` is a dictionary of ``{m2m_field_name :\n    list_of_related_objects}``.\n    ' #NEWLINE# d = get_deserializer ( format ) #NEWLINE# return d ( stream_or_string )