Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/p/h/phantompy-0.10/phantompy/context.py   phantompy(Download)
    def __del__(self):
        self._ctx_ptr = None
        self._cfg = None
        lib.ph_context_free()
 
    global _context
    if _context:
        lib.ph_context_free()
        _context = None