File: //lib64/python3.6/__pycache__/_bootlocale.cpython-36.opt-1.pyc
3
  \  �               @   sd   d Z ddlZddlZejjd�r,d	dd�Zn4y
ej W n ek
rT   d
dd�ZY nX ddd�ZdS )z�A minimal subset of the locale module used at interpreter startup
(imported by the _io module), in order to reduce startup time.
Don't import directly from third-party code; use the `locale` module instead!
�    N�winTc             C   s   t j� d S )N�   )�_localeZ_getdefaultlocale)�do_setlocale� r   �#/usr/lib64/python3.6/_bootlocale.py�getpreferredencoding   s    r   c             C   s   dd l }|j| �S )Nr   )�localer   )r   r	   r   r   r   r      s    c             C   s$   t jt j�}| r tjdkr d}|S )N�darwinzUTF-8)r   �nl_langinfo�CODESET�sys�platform)r   �resultr   r   r   r      s    )T)T)T)�__doc__r
   r   r   �
startswithr   r   �AttributeErrorr   r   r   r   �<module>   s