Lines Matching defs:locale
6 "setlocale($module, category, locale=<unrepresentable>, /)\n"
9 "Activates/queries locale processing.");
15 _locale_setlocale_impl(PyObject *module, int category, const char *locale);
22 const char *locale = NULL;
35 locale = NULL;
39 locale = PyUnicode_AsUTF8AndSize(args[1], &locale_length);
40 if (locale == NULL) {
43 if (strlen(locale) != (size_t)locale_length) {
53 return_value = _locale_setlocale_impl(module, category, locale);
63 "Returns numeric and monetary locale-specific parameters.");
83 "Compares two strings according to the locale.");
131 "Return a string that can be used as a key for locale-aware comparisons.");
188 "Return the value for the locale information associated with key.");
552 "Get the current locale encoding.");