Searched refs:getdefaultlocale (Results 1 - 4 of 4) sorted by relevance
/third_party/python/Lib/ |
H A D | locale.py | 27 __all__ = ["getlocale", "getdefaultlocale", "getpreferredencoding", "Error", 534 def getdefaultlocale(envvars=('LC_ALL', 'LC_CTYPE', 'LANG', 'LANGUAGE')): function 633 getdefaultlocale(). category defaults to LC_ALL. 644 loc = getdefaultlocale() 657 encoding = getdefaultlocale()[1] 1729 print('Locale defaults as determined by getdefaultlocale():') 1731 lang, enc = getdefaultlocale()
|
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | easy_xml.py | 124 default_encoding = locale.getdefaultlocale()[1]
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | easy_xml.py | 124 try: # getdefaultlocale() was removed in Python 3.11 125 default_encoding = locale.getdefaultlocale()[1]
|
/third_party/python/Lib/test/ |
H A D | test_locale.py | 530 self.assertEqual(locale.getdefaultlocale(), (None, 'UTF-8'))
|
Completed in 5 milliseconds