Searched refs:getlocale (Results 1 - 5 of 5) sorted by relevance
/third_party/python/Lib/ |
H A D | locale.py | 27 __all__ = ["getlocale", "getdefaultlocale", "getpreferredencoding", "Error", 560 "Use setlocale(), getencoding() and getlocale() instead", 593 def getlocale(category=LC_CTYPE): function 1740 lang, enc = getlocale(category) 1751 lang, enc = getlocale(category) 1768 lang, enc = getlocale(category)
|
H A D | _strptime.py | 28 return locale.getlocale(locale.LC_TIME)
|
/third_party/python/Lib/test/ |
H A D | test_calendar.py | 888 lang, enc = locale.getlocale() 892 oldlocale = locale.getlocale(locale.LC_TIME)
|
H A D | test_locale.py | 582 loc = locale.getlocale(locale.LC_CTYPE) 588 # bpo-37945: setlocale(LC_CTYPE) fails with getlocale(LC_CTYPE) 589 # and the tr_TR locale on Windows. getlocale() builds a locale 592 self.assertEqual(loc, locale.getlocale(locale.LC_CTYPE))
|
H A D | test_strptime.py | 18 self.assertEqual(_strptime._getlang(), locale.getlocale(locale.LC_TIME)) 683 locale_info = locale.getlocale(locale.LC_TIME)
|
Completed in 11 milliseconds