class_docstr: Object base class
class_docstr_tok: ["Object","base","class"]
code: def __del__(self):
      if _LIB is not None and hasattr(self, "handle"):
          check_call(_LIB.DGLObjectFree(self.handle))
  
file_path: dgl/python/dgl/_ffi/_ctypes/object.py
imports: from __future__ import absolute_import
  import ctypes
  from ..base import _LIB, c_str, check_call
  from ..object_generic import _set_class_object_base
  from .types import _wrap_arg_func, C_TO_PY_ARG_SWITCH, DGLValue, RETURN_SWITCH, TypeCode
label_desc: Use image node_id 1 for calling the ObjectBase obj's underlying member method code with example usage: obj.__del__() without return types