Sindbad~EG File Manager

Current Path : /usr/local/lib/python3.12/site-packages/pandas/_config/__pycache__/
Upload File :
Current File : //usr/local/lib/python3.12/site-packages/pandas/_config/__pycache__/display.cpython-312.pyc

�

Mٜg����UdZddlmZddlZddlZddlmZdade	d<dd�Z
dZejd	�5ejd
e
�eej��ddd�y#1swYyxYw)
z&
Unopinionated display configuration.
�)�annotationsN)�configz
str | None�_initial_defencodingc��d}	tjjxstjj}|rd|j
�vr	tj�}|rd|j
�vrtj�}tstj�a|S#tt
f$rY�~wxYw#tj$rY�nwxYw)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
s �A/usr/local/lib/python3.12/site-packages/pandas/_config/display.py�detect_console_encodingrs����H�
��:�:�&�&�<�#�)�)�*<�*<��
�w�(�.�.�"2�2�	��2�2�4�H��w�(�.�.�"2�2��)�)�+�� �"�5�5�7���O��-
�G�$�
��
���|�|�	�
�		�s#�6B'�B<�'B9�8B9�<C�Cz�
: 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
)�	validator)�return�str)�__doc__�
__future__rrr�pandas._configr�cfr�__annotations__r�pc_encoding_doc�
config_prefix�register_option�is_text��r�<module>r$sq���#�
�
�'�$(��j�'� �F���R���i� ��B����+�-��"�*�*��!� � �s�&A&�&A/

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists