
    ,h                     0    d Z ddlmZ d Zd Zd Zd ZeZy)z(Provides Python 3 compatibility objects.    )BytesIOc                 "    t        | t              S )z:
    Return True if *obj* is an int, False otherwise.
    )
isinstanceintobjs    U/var/www/html/Resume-Scraper/venv/lib/python3.12/site-packages/pptx/compat/python3.py
is_integerr
           c3    c                 "    t        | t              S )z<
    Return True if *obj* is a string, False otherwise.
    r   strr   s    r	   	is_stringr      r   r   c                 "    t        | t              S )zD
    Return True if *obj* is a unicode string, False otherwise.
    r   r   s    r	   
is_unicoder      r   r   c                     t        | t              r| S 	 | j                  d      S # t        $ r t	        dt        |       d|       w xY w)zReturn *text* as a (unicode) str.

    *text* can be str or bytes. A bytes object is assumed to be encoded as UTF-8.
    If *text* is a str object it is returned unchanged.
    zutf-8zexpected unicode string, got z value )r   r   decodeAttributeError	TypeErrortype)texts    r	   
to_unicoder      sN     $Y{{7## Yd4jRVWXXYs	   % $A	N)	__doc__ior   r
   r   r   r   r   Unicode r   r	   <module>r      s)    /    Y r   