B @` @sfdZddlZddlZddlmZdaedddZdZ e dej d ee ej d WdQRXdS) z& Unopinionated display configuration. N)config)returnc Csd}ytjjptjj}Wnttfk r0YnX|rBd|krfy t}Wntj k rdYnX|rvd|kr~t }t st a |S)z Try to find the most capable encoding supported by the console. slightly modified from the way IPython handles the same issue. Nascii) sysstdoutencodingstdinAttributeErrorOSErrorlowerlocalegetpreferredencodingErrorgetdefaultencoding_initial_defencoding)rr:/tmp/pip-unpacked-wheel-q9tj5l6a/pandas/_config/display.pydetect_console_encodings rz : 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. Zdisplayr)Z validator) __doc__r rZpandas._configrcfrstrrZpc_encoding_docZ config_prefixZregister_optionZis_textrrrrs (