class_docstr: Object base class
class_docstr_tok: ["Object","base","class"]
docstr: Initialize the handle by calling constructor function.
  
  Parameters
  ----------
  fconstructor : Function
      Constructor function.
  
  args: list of objects
      The arguments to the constructor
  
  Note
  ----
  We have a special calling convention to call constructor functions.
  So the return handle is directly set into the Object object
  instead of creating a new Object.
docstr_tok: ["Initialize","the","handle","by","calling","constructor","function",".","Parameters","--","--","--","--","--","fconstructor",":","Function","Constructor","function",".","args",":","list","of","objects","The","arguments","to","the","constructor","Note","--","--","We","have","a","special","calling","convention","to","call","constructor","functions",".","So","the","return","handle","is","directly","set","into","the","Object","object","instead","of","creating","a","new","Object","."]
code: def __init_handle_by_constructor__(self, fconstructor, *args):
      """Initialize the handle by calling constructor function.
  
      Parameters
      ----------
      fconstructor : Function
          Constructor function.
  
      args: list of objects
          The arguments to the constructor
  
      Note
      ----
      We have a special calling convention to call constructor functions.
      So the return handle is directly set into the Object object
      instead of creating a new Object.
      """
      # assign handle first to avoid error raising
      self.handle = None
      handle = __init_by_constructor__(
          fconstructor, args
      )  # pylint: disable=not-callable
      if not isinstance(handle, ObjectHandle):
          handle = ObjectHandle(handle)
      self.handle = 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 3 for calling the ObjectBase obj's underlying member method code with example usage: obj.__init_handle_by_constructor__(fconstructor) without return types