code: def _generate_cpy_enum_decl(self, tp, name, prefix="enum"):
      if tp.partial:
          for enumerator in tp.enumerators:
              self._generate_cpy_const(True, enumerator, delayed=False)
          return
      #
      funcname = self._enum_funcname(prefix, name)
      prnt = self._prnt
      prnt("static int %s(PyObject *lib)" % funcname)
      prnt("{")
      for enumerator, enumvalue in zip(tp.enumerators, tp.enumvalues):
          self._check_int_constant_value(
              enumerator, enumvalue, "enum %s: " % name
          )
      prnt("  return %s;" % self._chained_list_constants[True])
      self._chained_list_constants[True] = funcname + "(lib)"
      prnt("}")
      prnt()
  
imports: import sys
  from .None import model
  from .error import VerificationError
  from .None import _imp_emulation
label_desc: Use image node_id 44 for calling the VCPythonEngine obj's underlying member method code with example usage: obj._generate_cpy_enum_decl(tp, name, prefix) without return types