CoolFace
Apppublic

Aluode/PerceptionLabPortable

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes
_util.cpython-310.pyc17 linesDownload Raw Back to __pycache__
1o

2��Yi��@sXddlmZddlZdZerddlmZmZmZddlm	Z	ddd�Z3Gd
d�d�ZdS)�)�annotationsNF)�Any�NoReturn�	TypeGuard�)�StrOrBytesPath�fr�return�TypeGuard[StrOrBytesPath]cCst|tttjf�S�N)�4isinstance�bytes�str�os�PathLike)r�r�sE:\DocsHouse\542 percep lab latest\PerceptionLab\PerceptionLab_Portable\python_embed\Lib\site-packages\PIL/_util.py�is_pathsrc@s.eZdZddd�Zdd	d5�Zeddd
��ZdS)�
DeferredError�ex�
BaseExceptioncCs6||_dSr�r)�selfrrrr�__init__s7zDeferredError.__init__�eltrr	rcCs|j�rr)rrrrr�__getattr__szDeferredError.__getattr__rcCst|�S)z�8        Creates an object that raises the wrapped exception ``ex`` when used,9        and casts it to :py:obj:`~typing.Any` type.10        )rrrrr�newszDeferredError.newN)rr)rrr	r)rrr	r)�__name__�11__module__�__qualname__rr�staticmethodrrrrrrs121314r)rrr	r15)�16__future__rr�
TYPE_CHECKING�typingrrrZ_typingrrrrrrr�<module>s17
Aluode/PerceptionLabPortable · CoolFace