
    (ph-                    `    S SK Jr  S SKrS SKJrJr  SSKJrJr  S
S jr	S
S jr
 " S S	5      rg)    )annotationsN)AnyNoReturn   )StrOrBytesPath	TypeGuardc                L    [        U [        [        [        R                  45      $ N)
isinstancebytesstrosPathLikefs    </var/www/html/venv/lib/python3.13/site-packages/PIL/_util.pyis_pathr   	   s    a%bkk233    c                d    [        U 5      =(       a    [        R                  R                  U 5      $ )zCChecks if an object is a string, and that it points to a directory.)r   r   pathisdirr   s    r   is_directoryr      s    1:*"''--**r   c                  <    \ rS rSrSS jrSS jr\S	S j5       rSrg)
DeferredError   c                    Xl         g r
   ex)selfr   s     r   __init__DeferredError.__init__   s    r   c                    U R                   er
   r   )r   elts     r   __getattr__DeferredError.__getattr__   s    ggr   c                    [        U 5      $ )zs
Creates an object that raises the wrapped exception ``ex`` when used,
and casts it to :py:obj:`~typing.Any` type.
)r   r   s    r   newDeferredError.new   s     R  r   r   N)r   BaseException)r#   r   returnr   )r   r)   r*   r   )	__name__
__module____qualname____firstlineno__r    r$   staticmethodr'   __static_attributes__ r   r   r   r      s      ! !r   r   )r   r   r*   zTypeGuard[StrOrBytesPath])
__future__r   r   typingr   r   _typingr   r   r   r   r   r1   r   r   <module>r5      s%    " 	   .4+
! !r   