_locale
index
(built-in)
Support for POSIX locales.
Classes
exceptions.Exception
locale.Error
class
Error
(
exceptions.Exception
)
__getitem__
(self, i)
from
exceptions.Exception
__init__
(self, *args)
from
exceptions.Exception
__str__
(self)
from
exceptions.Exception
Functions
localeconv
(...)
() -> dict. Returns numeric and monetary locale-specific parameters.
setlocale
(...)
(integer,string=None) -> string. Activates/queries locale processing.
strcoll
(...)
string,string -> int. Compares two strings according to the locale.
strxfrm
(...)
string -> string. Returns a string that behaves for cmp locale-aware.
Data
CHAR_MAX
= 127
LC_ALL
= 6
LC_COLLATE
= 3
LC_CTYPE
= 0
LC_MESSAGES
= 5
LC_MONETARY
= 4
LC_NUMERIC
= 1
LC_TIME
= 2
__name__
= '_locale'