def defer_cleanup(self):
        """
        Returns a context manager that ensures the implementation of deferred
        cleanup whilst it is active.

        :return: Context manager
        """

        Returns a context manager that ensures the implementation of deferred
        cleanup whilst it is active.

        :return: Context manager
        
numba/cuda/cudadrv/driver.py