a
    d=ic?  ã                   @   s’   d Z ddlZddlmZ ejd dkZejd dkZer`dd„ ZeZ	efZ
ddlmZ eefZn.erŽd	d„ ZeZ	eefZ
ddlmZ eeefZdS )
zÿPython 2/3 compatibility.

This module only exists to avoid a dependency on six
for very trivial stuff. We only need to take care of
string types, buffers and metaclasses.

Parts of the code is copied directly from six:
https://bitbucket.org/gutworth/six
é    N)Ú
TextIOBaseé   é   c                 C   s   | S )N© ©Úclsr   r   ú`/home/droni/.local/share/virtualenvs/DPS-5Je3_V2c/lib/python3.9/site-packages/sqlparse/compat.pyÚunicode_compatible   s    r	   )ÚStringIOc                 C   s   | j | _dd„ | _ | S )Nc                 S   s   |   ¡  d¡S )Nzutf-8)Ú__unicode__Úencode)Úxr   r   r   Ú<lambda>'   ó    z$unicode_compatible.<locals>.<lambda>)Ú__str__r   r   r   r   r   r	   %   s    
)Ú__doc__ÚsysÚior   Úversion_infoÚPY2ÚPY3r	   ÚstrÚ	text_typeÚstring_typesr
   Z
file_typesÚunicodeÚfiler   r   r   r   Ú<module>	   s    

