code: def init_builtin_types():
      global builtin_types
      for name, cname, methods in builtin_types_table:
          utility = builtin_utility_code.get(name)
          if name == "frozenset":
              objstruct_cname = "PySetObject"
          elif name == "bytearray":
              objstruct_cname = "PyByteArrayObject"
          elif name == "bool":
              objstruct_cname = None
          elif name == "Exception":
              objstruct_cname = "PyBaseExceptionObject"
          elif name == "StopAsyncIteration":
              objstruct_cname = "PyBaseExceptionObject"
          else:
              objstruct_cname = "Py%sObject" % name.capitalize()
          the_type = builtin_scope.declare_builtin_type(
              name, cname, utility, objstruct_cname
          )
          builtin_types[name] = the_type
          for method in methods:
              method.declare_in_type(the_type)
  
imports: from __future__ import absolute_import
  from .Symtab import BuiltinScope, StructOrUnionScope
  from .Code import UtilityCode
  from .TypeSlots import Signature
  from .None import PyrexTypes
  from .None import Options
label_desc: Use image node_id 2 for calling a global function with example usage: init_builtin_types() without return types