B
Mj @ sz d Z ddlZddlZejdr,dddZnJy
ej W n4 ek
rj eedr\dddZn
d
d dZY nX dd
dZdS )zA 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!
NwinTc C s t jjrdS t d S )NzUTF-8 )sysflags utf8_mode_localeZ_getdefaultlocale)do_setlocale r 0/opt/alt/python37/lib64/python3.7/_bootlocale.pygetpreferredencoding 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 s. t jjrdS ttj}|s*t jdkr*d}|S )NzUTF-8darwin)r r r r nl_langinfoCODESETplatform)r resultr r r
r ! s )T)T)T)T) __doc__r r r
startswithr r AttributeErrorhasattrr r r r
<module> s