a
    Sicq  ã                   @   s6   d dl Z d dlmZ dd„ Zdd„ ZG dd„ dƒZdS )	é    N)ÚPathc                 C   s   t | tttfƒS ©N)Ú
isinstanceÚbytesÚstrr   ©Úf© r	   úE/var/www/html/django/DPS/env/lib/python3.9/site-packages/PIL/_util.pyÚis_path   s    r   c                 C   s   t | ƒotj | ¡S )zCChecks if an object is a string, and that it points to a directory.)r   ÚosÚpathÚisdirr   r	   r	   r
   Úis_directory	   s    r   c                   @   s   e Zd Zdd„ Zdd„ ZdS )ÚDeferredErrorc                 C   s
   || _ d S r   ©Úex)Úselfr   r	   r	   r
   Ú__init__   s    zDeferredError.__init__c                 C   s
   | j ‚d S r   r   )r   Úeltr	   r	   r
   Ú__getattr__   s    zDeferredError.__getattr__N)Ú__name__Ú
__module__Ú__qualname__r   r   r	   r	   r	   r
   r      s   r   )r   Úpathlibr   r   r   r   r	   r	   r	   r
   Ú<module>   s   