def _make_ref(elementid, ptr): if elementid == _CUSTOM_GROUP_CONSTRUCT: return summon_core.get_element_contents(ptr) else: return _element_table[elementid](ref=ptr)
def get(self): """Returns the content of an element as a tuple in a format specific to the particular element type""" return summon_core.get_element_contents(self.ptr)