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: Set a field in the record. This set function differs slightly from that in the PMap
  class. First of all it accepts key-value pairs. Second it accepts multiple key-value
  pairs to perform one, atomic, update of multiple fields.
docstr_tok: ["Set","a","field","in","the","record",".","This","set","function","differs","slightly","from","that","in","the","PMap","class",".","First","of","all","it","accepts","key-value","pairs",".","Second","it","accepts","multiple","key-value","pairs","to","perform","one",",","atomic",",","update","of","multiple","fields","."]
code: def set(self, *args, **kwargs):
      """
      Set a field in the record. This set function differs slightly from that in the PMap
      class. First of all it accepts key-value pairs. Second it accepts multiple key-value
      pairs to perform one, atomic, update of multiple fields.
      """
  
      # The PRecord set() can accept kwargs since all fields that have been declared are
      # valid python identifiers. Also allow multiple fields to be set in one operation.
      if args:
          return super(PRecord, self).set(args[0], args[1])
  
      return self.update(kwargs)
  
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 2 for calling the PRecord obj's underlying member method code with example usage: obj.set() and returns: self, super