class_docstr: A data-type scalar that allows field access as attribute lookup.
      
code: def __setattr__(self, attr, val):
      if attr in ["setfield", "getfield", "dtype"]:
          raise AttributeError("Cannot set '%s' attribute" % attr)
      fielddict = nt.void.__getattribute__(self, "dtype").fields
      res = fielddict.get(attr, None)
      if res:
          return self.setfield(val, *res[:2])
      else:
          if getattr(self, attr, None):
              return nt.void.__setattr__(self, attr, val)
          else:
              raise AttributeError(
                  "'record' object has no " "attribute '%s'" % attr
              )
  
imports: from __future__ import division, absolute_import, print_function
  import sys
  import os
  import warnings
  from .None import numeric
  from .None import numerictypes
  from numpy.compat import isfileobj, bytes, long, unicode, os_fspath
  from numpy.core.overrides import set_module
  from .arrayprint import get_printoptions
label_desc: Use image node_id 4 for calling the record obj's underlying member method code with example usage: obj.__setattr__(attr, val) and returns: self, nt