a
    oÝEb  ã                   @  s�   U d Z ddlmZ ddlZddlZddlmZ dade	d< ddœd	d
„Z
dZe d¡�& ejde
ƒ eejd� W d  ƒ n1 s‚0    Y  dS )z&
Unopinionated display configuration.
é    )ÚannotationsN)Úconfigz
str | NoneÚ_initial_defencodingÚstr)Úreturnc               	   C  sŠ   d} zt jjpt jj} W n ttfy.   Y n0 | r@d|  ¡ v rbzt ¡ } W n tj	y`   Y n0 | rrd|  ¡ v rzt  
¡ } ts†t  
¡ a| S )zŒ
    Try to find the most capable encoding supported by the console.
    slightly modified from the way IPython handles the same issue.
    NÚascii)ÚsysÚstdoutÚencodingÚstdinÚAttributeErrorÚOSErrorÚlowerÚlocaleÚgetpreferredencodingÚErrorÚgetdefaultencodingr   )r
   © r   úV/home/ja/django-apps/lartica_env/lib/python3.9/site-packages/pandas/_config/display.pyÚdetect_console_encoding   s    r   zÔ
: str/unicode
    Defaults to the detected encoding of the console.
    Specifies the encoding to be used for strings returned by to_string,
    these are generally strings meant to be displayed on the console.
Údisplayr
   )Z	validator)Ú__doc__Ú
__future__r   r   r   Zpandas._configr   Úcfr   Ú__annotations__r   Zpc_encoding_docZconfig_prefixZregister_optionZis_textr   r   r   r   Ú<module>   s   #ÿ