B
    àz÷bq  ã               @   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   ú(lib/python3.7/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Úisdir)r   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 )N)Úex)Úselfr   r   r   r   Ú__init__   s    zDeferredError.__init__c             C   s
   | j ‚d S )N)r   )r   Zeltr   r   r   Ú__getattr__   s    zDeferredError.__getattr__N)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r   r      s   r   )r
   Zpathlibr   r	   r   r   r   r   r   r   Ú<module>   s   