Ë
    ÏÍ:js  ã                   óx   — d dl Z d dlZddlmZ d dlmZ 	 d dlZd	d„Z ed¬«      d
d„«       Z	y# e$ r dZY Œw xY w)é    Né   )Úmethod_files_map)Úxp_capabilitiesc           
      óB  — |€t         }|€&t        €t        d«      ‚t        j                  d«      }t        j
                  j                  |«      st        d|› d�«       y | €%t        d|› d�«       t        j                  |«       y t        | t        t        z  «      s| g} | D ]õ  }t        |«      sJ ‚|j                  }||vr(t        d|› dt        |j!                  «       «      › �«      ‚||   }|D �cg c]"  }t        j
                  j#                  ||«      ‘Œ$ }}|D ]w  }t        j
                  j                  |«      rGt        d	t        j
                  j%                  |«      d
   › d|› �«       t	        j&                  |«       Œit        d|› d�«       Œy Œ÷ y c c}w )NzsMissing optional dependency 'pooch' required for scipy.datasets module. Please use pip or conda to install 'pooch'.z
scipy-datazCache Directory z! doesn't exist. Nothing to clear.zCleaning the cache directory ú!zDataset method za doesn't exist. Please check if the passed dataset is a subset of the following dataset methods: zCleaning the file r   z for dataset zPath )r   ÚplatformdirsÚImportErrorÚuser_cache_dirÚosÚpathÚexistsÚprintÚshutilÚrmtreeÚ
isinstanceÚlistÚtupleÚcallableÚ__name__Ú
ValueErrorÚkeysÚjoinÚsplitÚremove)	ÚdatasetsÚ	cache_dirÚ
method_mapÚdatasetÚdataset_nameÚ
data_filesÚfileÚdata_filepathsÚdata_filepaths	            új/home/mcse/projects/srt_converter/srt-converter-venv/lib/python3.12/site-packages/scipy/datasets/_utils.pyÚ_clear_cacher%      sµ  € ØÐä%ˆ
ØÐäÐäð :ó ;ð ;ô !×/Ñ/°Ó=ˆ	ä�7‰7�>‰>˜)Ô$ÜÐ   Ð+LÐMÔNØàÐÜÐ-¨i¨[¸Ð:Ô;Ü�‰�iÕ ä˜(¤D¬5¡LÔ1à �|ˆHØò 	/ˆGÜ˜GÔ$Ð$Ð$Ø"×+Ñ+ˆLØ :Ñ-Ü  ?°<°.ð A-ô .2°*·/±/Ó2CÓ-DÐ,Eð"Gó Hð Hð
 $ LÑ1ˆJà*4ö6Ø"&ô !Ÿg™gŸl™l¨9°dÕ;ð 6ˆNð 6à!/ò /�Ü—7‘7—>‘> -Ô0ÜÐ.ÜŸW™WŸ]™]¨=Ó9¸!Ñ<Ð=ð >)Ø)5¨ð8ô 9ô —I‘I˜mÕ,ä˜E - ð 1.ð .õ /ñ/ñ	/ùò6s   Ã4'FT)Úout_of_scopec                 ó   — t        | «       y)añ  
    Cleans the SciPy datasets cache directory.

    Parameters
    ----------
    datasets : callable or list/tuple of callable or None
        Dataset whose cached files are to be removed. If None (default), all cached
        files are removed.

    Examples
    --------
    >>> from scipy import datasets
    >>> ascent_array = datasets.ascent()
    >>> ascent_array.shape
    (512, 512)
    >>> datasets.clear_cache([datasets.ascent])
    Cleaning the file ascent.dat for dataset ascent
    N)r%   )r   s    r$   Úclear_cacher(   <   s   € ô( �Õó    )NN)N)
r   r   Ú	_registryr   Úscipy._lib._array_apir   r   r	   r%   r(   © r)   r$   ú<module>r-      sO   ðÛ 	Û Ý 'å 1ðÛó
,/ñ^ ˜dÔ#òó $ñøði ò Ø‚Lðús   –/ ¯9¸9