a
    c	                     @   sx   d Z ddlZddlZejdr,dddZnHz
ej W n2 eyh   eedrZdddZn
dd	dZY n0 dd
dZdS )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!
    NwinTc                 C   s   t jjrdS t d S )NUTF-8   )sysflags	utf8_mode_localeZ_getdefaultlocaledo_setlocale r   i/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/Python-3.9.16/./Lib/_bootlocale.pygetpreferredencoding   s    r   Zgetandroidapilevelc                 C   s   dS )Nr   r   r	   r   r   r   r      s    c                 C   s   t jjrdS dd l}|| S )Nr   r   )r   r   r   localer   )r
   r   r   r   r   r      s    c                 C   s6   | rJ t jjrdS ttj}|s2t jdkr2d}|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   

