code: def _field_assign(frozen, name, value, self_name):
      # If we're a frozen class, then assign to our fields in __init__
      # via object.__setattr__.  Otherwise, just use a simple
      # assignment.
      #
      # self_name is what "self" is called in this function: don't
      # hard-code "self", since that might be a field name.
      if frozen:
          return f"__dataclass_builtins_object__.__setattr__({self_name},{name!r},{value})"
      return f"{self_name}.{name}={value}"
  
imports: import re
  import sys
  import copy
  import types
  import inspect
  import keyword
  import functools
  import itertools
  import abc
  import _thread
  from types import FunctionType, GenericAlias
label_desc: Use image node_id 6 for calling a global function with example usage: _field_assign(frozen, name, value, _name) and returns: self_name, str, name, str, value, str, self_name, str, name, str, value, str