class_docstr: A Block serves as the foundation class for all graph-based optimization techniques.
class_docstr_tok: ["A","Block","serves","as","the","foundation","class","for","all","graph-based","optimization","techniques","."]
code: def pointer(self, pointer: callable) -> None:
      if not callable(pointer):
          raise e.TypeError("`pointer` should be a callable")
  
      self._pointer = pointer
  
imports: import opytimizer.utils.exception
label_desc: Use image node_id 6 for calling the Block obj's underlying member method code with example usage: obj.pointer(pointer) without return types