class_docstr: A PRecord is a PMap with a fixed set of specified fields. Records are declared as python classes inheriting
  from PRecord. Because it is a PMap it has full support for all Mapping methods such as iteration and element
  access using subscript notation.
  
  More documentation and examples of PRecord usage is available at https://github.com/tobgu/pyrsistent
docstr: Serialize the current PRecord using custom serializer functions for fields where
  such have been supplied.
docstr_tok: ["Serialize","the","current","PRecord","using","custom","serializer","functions","for","fields","where","such","have","been","supplied","."]
code: def serialize(self, format=None):
      """
      Serialize the current PRecord using custom serializer functions for fields where
      such have been supplied.
      """
      return dict(
          (k, serialize(self._precord_fields[k].serializer, format, v))
          for k, v in self.items()
      )
  
imports: from pyrsistent._checked_types import CheckedType, _restore_pickle, InvariantException, store_invariants
  from pyrsistent._field_common import set_fields, check_type, is_field_ignore_extra_complaint, PFIELD_NO_INITIAL, serialize, check_global_invariants
  from pyrsistent._pmap import PMap, pmap
label_desc: Use image node_id 7 for calling the PRecord obj's underlying member method code with example usage: obj.serialize(format) and returns: dict