3 \� @sddZddlZddlZejjd�r,d dd�Zn4y ejWnek rTd dd�ZYn Xd dd�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�winTcCs tj�dS)N�)�_localeZ_getdefaultlocale)� do_setlocale�r�#/usr/lib64/python3.6/_bootlocale.py�getpreferredencoding srcCsddl}|j|�S)Nr)�localer)rr rrrrscCs$tjtj�}| r tjdkr d}|S)N�darwinzUTF-8)r� nl_langinfo�CODESET�sys�platform)r�resultrrrrs )T)T)T)�__doc__r rr� startswithrr �AttributeErrorrrrr�s