code: def gen_memberdef(self):
      out = """
  static PyMemberDef Py_{shortname}_members[] = {{
  """.format(
          **self.__dict__
      )
      for p in get_params_types_names(self.new_proto):
          tmp = '  {{"{name}", {ttype}, offsetof (Py_{shortname}, {name}), READONLY, "TODO documentation"}},\n'
          pytype = member_types[p["type"]]
          out += tmp.format(
              name=p["name"], ttype=pytype, shortname=self.shortname
          )
      out += """  {NULL}, // sentinel
  };
  """
      return out
  
label_desc: Use image node_id 11 for calling the MappedObject obj's underlying member method code with example usage: obj.gen_memberdef() and returns: out