
    9i                     8    S SK Jr  S SKJr  S SKr\SS j5       rg)    )NamedTemporaryFile)contextmanagerNc              #      #    [        U SS9 nUR                  nSSS5        Wv   [        R                  " U5        g! , (       d  f       N)= f7f)a  Yield a writeable temporary filename that is deleted on context exit.

Parameters
----------
suffix : string, optional
    The suffix for the file.

Examples
--------
>>> import numpy as np
>>> from skimage import io
>>> with temporary_file('.tif') as tempfile:
...     im = np.arange(25, dtype=np.uint8).reshape((5, 5))
...     io.imsave(tempfile, im)
...     assert np.all(io.imread(tempfile) == im)
F)suffixdeleteN)r   nameosremove)r   tempfile_streamtempfiles      Y/var/www/html/land-doc-ocr/venv/lib/python3.13/site-packages/skimage/_shared/_tempfile.pytemporary_filer      s>     $ 
6%	8O"'' 
9 NIIh	 
9	8s   A=#A
AA) )r   r   
contextlibr   r	   r        r   <module>r      s"    ' % 	  r   