o
    €Ï  ã                   @   sl   d dl mZmZmZmZ d dlZd dlZe ¡ Zej	dk rdndZ
e
r&eZneZefdd„Zefdd	„ZdS )
é    )Úabsolute_importÚdivisionÚprint_functionÚunicode_literalsN)é   r   TFc                 C   ó   t | tƒs
|  |¡} | S ©N)Ú
isinstanceÚbytesÚencode©ÚxÚencoding© r   ú;/tmp/google-cloud-sdk/lib/third_party/argcomplete/compat.pyÚensure_bytes   ó   

r   c                 C   r   r   )r	   ÚstrÚdecoder   r   r   r   Ú
ensure_str   r   r   )Ú
__future__r   r   r   r   ÚlocaleÚsysÚgetpreferredencodingÚsys_encodingÚversion_infoÚUSING_PYTHON2Úunicoder   r   r   r   r   r   r   Ú<module>   s    