File: //opt/alt/python37/lib64/python3.7/__pycache__/_bootlocale.cpython-37.pyc
B
    � f	  �               @   sz   d Z ddlZddlZej�d�r,ddd�ZnJy
ej W n4 ek
rj   eed�r\ddd�Zn
d
d	d�ZY nX dd
d�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 jjrdS t�� d S )NzUTF-8�   )�sys�flags�	utf8_mode�_localeZ_getdefaultlocale)�do_setlocale� r	   �0/opt/alt/python37/lib64/python3.7/_bootlocale.py�getpreferredencoding   s    r   Zgetandroidapilevelc             C   s   dS )NzUTF-8r	   )r   r	   r	   r
   r      s    c             C   s   t jjrdS dd l}|�| �S )NzUTF-8r   )r   r   r   �localer   )r   r   r	   r	   r
   r      s    c             C   s6   | rt �tjjrdS t�tj�}|s2tjdkr2d}|S )NzUTF-8�darwin)�AssertionErrorr   r   r   r   Znl_langinfo�CODESET�platform)r   �resultr	   r	   r
   r   !   s    )T)T)T)T)	�__doc__r   r   r   �
startswithr   r   �AttributeError�hasattrr	   r	   r	   r
   �<module>   s