MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / __del__

Method __del__

python-package/lightgbmmt/basic.py:780–784  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

778 self.monotone_constraints = None
779
780 def __del__(self):
781 try:
782 self._free_handle()
783 except AttributeError:
784 pass
785
786 def _free_handle(self):
787 if self.handle is not None:

Callers

nothing calls this directly

Calls 1

_free_handleMethod · 0.95

Tested by

no test coverage detected