# _locale - pydoc - phpman

Help on built-in module _locale:

## NAME
    _locale - Support for POSIX locales.

## CLASSES
    builtins.Exception(builtins.BaseException)
        locale.Error

### class Error
     |  Method resolution order:
     |      Error
     |      builtins.Exception
     |      builtins.BaseException
     |      builtins.object
     |
     |  Data descriptors defined here:
     |
     |  __weakref__
     |      list of weak references to the object (if defined)
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from builtins.Exception:
     |
     |  __init__(self, /, *args, **kwargs)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  ----------------------------------------------------------------------
     |  Static methods inherited from builtins.Exception:
     |
     |  __new__(*args, **kwargs) from builtins.type
     |      Create and return a new object.  See help(type) for accurate signature.
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from builtins.BaseException:
     |
     |  __delattr__(self, name, /)
     |      Implement delattr(self, name).
     |
     |  __getattribute__(self, name, /)
     |      Return getattr(self, name).
     |
     |  __reduce__(...)
     |      Helper for pickle.
     |
     |  __repr__(self, /)
     |      Return repr(self).
     |
     |  __setattr__(self, name, value, /)
     |      Implement setattr(self, name, value).
     |
     |  __setstate__(...)
     |
     |  __str__(self, /)
     |      Return str(self).
     |
     |  with_traceback(...)
     |      Exception.with_traceback(tb) --
     |      set self.__traceback__ to tb and return self.
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from builtins.BaseException:
     |
     |  __cause__
     |      exception cause
     |
     |  __context__
     |      exception context
     |
     |  __dict__
     |
     |  __suppress_context__
     |
     |  __traceback__
     |
     |  args

## FUNCTIONS
### bind_textdomain_codeset
        Bind the C library's domain to codeset.

### bindtextdomain
        Bind the C library's domain to dir.

### dcgettext
        Return translation of msg in domain and category.

### dgettext
        dgettext(domain, msg) -> string

        Return translation of msg in domain.

### gettext
        gettext(msg) -> string

        Return translation of msg.

### localeconv
        Returns numeric and monetary locale-specific parameters.

### nl_langinfo
        Return the value for the locale information associated with key.

### setlocale
        Activates/queries locale processing.

### strcoll
        Compares two strings according to the locale.

### strxfrm
        Return a string that can be used as a key for locale-aware comparisons.

### textdomain
        Set the C library's textdmain to domain, returning the new domain.

## DATA
    ABDAY_1 = 131072
    ABDAY_2 = 131073
    ABDAY_3 = 131074
    ABDAY_4 = 131075
    ABDAY_5 = 131076
    ABDAY_6 = 131077
    ABDAY_7 = 131078
    ABMON_1 = 131086
    ABMON_10 = 131095
    ABMON_11 = 131096
    ABMON_12 = 131097
    ABMON_2 = 131087
    ABMON_3 = 131088
    ABMON_4 = 131089
    ABMON_5 = 131090
    ABMON_6 = 131091
    ABMON_7 = 131092
    ABMON_8 = 131093
    ABMON_9 = 131094
    ALT_DIGITS = 131119
    AM_STR = 131110
    CHAR_MAX = 127
    CODESET = 14
    CRNCYSTR = 262159
    DAY_1 = 131079
    DAY_2 = 131080
    DAY_3 = 131081
    DAY_4 = 131082
    DAY_5 = 131083
    DAY_6 = 131084
    DAY_7 = 131085
    D_FMT = 131113
    D_T_FMT = 131112
    ERA = 131116
    ERA_D_FMT = 131118
    ERA_D_T_FMT = 131120
    ERA_T_FMT = 131121
    LC_ALL = 6
    LC_COLLATE = 3
    LC_CTYPE = 0
    LC_MESSAGES = 5
    LC_MONETARY = 4
    LC_NUMERIC = 1
    LC_TIME = 2
    MON_1 = 131098
    MON_10 = 131107
    MON_11 = 131108
    MON_12 = 131109
    MON_2 = 131099
    MON_3 = 131100
    MON_4 = 131101
    MON_5 = 131102
    MON_6 = 131103
    MON_7 = 131104
    MON_8 = 131105
    MON_9 = 131106
    NOEXPR = 327681
    PM_STR = 131111
    RADIXCHAR = 65536
    THOUSEP = 65537
    T_FMT = 131114
    T_FMT_AMPM = 131115
    YESEXPR = 327680

## FILE
    (built-in)


