
     h?                         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 ZeZ	efZ
ddlmZ eefZdS erd ZeZ	eefZ
ddlmZ eeefZdS dS )	zPython 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                     | S )N clss    K/var/www/html/Sam_Eipo/venv/lib/python3.11/site-packages/sqlparse/compat.pyunicode_compatibler      s    
    )StringIOc                 .    | j         | _        d | _         | S )Nc                 P    |                                                      d          S )Nzutf-8)__unicode__encode)xs    r
   <lambda>z$unicode_compatible.<locals>.<lambda>'   s     6 6w ? ? r   )__str__r   r   s    r
   r   r   %   s    +??
r   )__doc__sysior   version_infoPY2PY3r   str	text_typestring_typesr   
file_typesunicodefiler   r   r
   <module>r!      s     


      	qQ	qQ  .   I6LJ'JJJ 	 	.  
 I?L!!!!!!*-JJJ	. 	.r   