def set_delete(self, kind, value):
        # type: (str, bool) -> None
        """Indicate whether a TempDirectory of the given kind should be
        auto-deleted.
        """
        self._should_delete[kind] = value
Indicate whether a TempDirectory of the given kind should be
        auto-deleted.
        
product/gradle-plugin/src/main/python/pip/_internal/utils/temp_dir.py