Current File : //opt/imh-python/lib/python3.9/__pycache__/_bootlocale.cpython-39.pyc |
a
-�h � @ sx d Z ddlZddlZej�d�r,ddd�ZnHz
ej W n2 eyh eed�rZddd�Zn
d
d d�ZY n0 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 )N�UTF-8� )�sys�flags� utf8_mode�_locale�_getdefaultlocale��do_setlocale� r �,/opt/imh-python/lib/python3.9/_bootlocale.py�getpreferredencoding s r �getandroidapilevelc C s dS )Nr r r
r r r
r s c C s t jjrdS dd l}|�| �S )Nr r )r r r �localer )r r r r r
r s c C s6 | rJ �t jjrdS t�tj�}|s2t jdkr2d}|S )Nr �darwin)r r r r �nl_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