{
    "content": [
        {
            "type": "text",
            "text": "# _locale (pydoc)\n\n**Summary:** locale - Support for POSIX locales.\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **CLASSES** (3 lines) — 1 subsections\n  - class Error (67 lines)\n- **FUNCTIONS** (1 lines) — 11 subsections\n  - bind_textdomain_codeset (2 lines)\n  - bindtextdomain (2 lines)\n  - dcgettext (2 lines)\n  - dgettext (4 lines)\n  - gettext (4 lines)\n  - localeconv (2 lines)\n  - nl_langinfo (2 lines)\n  - setlocale (2 lines)\n  - strcoll (2 lines)\n  - strxfrm (2 lines)\n  - textdomain (2 lines)\n- **DATA** (64 lines)\n- **FILE** (3 lines)\n\n## Full Content\n\n### NAME\n\nlocale - Support for POSIX locales.\n\n### CLASSES\n\nbuiltins.Exception(builtins.BaseException)\nlocale.Error\n\n#### class Error\n\n|  Method resolution order:\n|      Error\n|      builtins.Exception\n|      builtins.BaseException\n|      builtins.object\n|\n|  Data descriptors defined here:\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from builtins.Exception:\n|\n|  init(self, /, *args, kwargs)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from builtins.Exception:\n|\n|  new(*args, kwargs) from builtins.type\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from builtins.BaseException:\n|\n|  delattr(self, name, /)\n|      Implement delattr(self, name).\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  setattr(self, name, value, /)\n|      Implement setattr(self, name, value).\n|\n|  setstate(...)\n|\n|  str(self, /)\n|      Return str(self).\n|\n|  withtraceback(...)\n|      Exception.withtraceback(tb) --\n|      set self.traceback to tb and return self.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from builtins.BaseException:\n|\n|  cause\n|      exception cause\n|\n|  context\n|      exception context\n|\n|  dict\n|\n|  suppresscontext\n|\n|  traceback\n|\n|  args\n\n### FUNCTIONS\n\n#### bind_textdomain_codeset\n\nBind the C library's domain to codeset.\n\n#### bindtextdomain\n\nBind the C library's domain to dir.\n\n#### dcgettext\n\nReturn translation of msg in domain and category.\n\n#### dgettext\n\ndgettext(domain, msg) -> string\n\nReturn translation of msg in domain.\n\n#### gettext\n\ngettext(msg) -> string\n\nReturn translation of msg.\n\n#### localeconv\n\nReturns numeric and monetary locale-specific parameters.\n\n#### nl_langinfo\n\nReturn the value for the locale information associated with key.\n\n#### setlocale\n\nActivates/queries locale processing.\n\n#### strcoll\n\nCompares two strings according to the locale.\n\n#### strxfrm\n\nReturn a string that can be used as a key for locale-aware comparisons.\n\n#### textdomain\n\nSet the C library's textdmain to domain, returning the new domain.\n\n### DATA\n\nABDAY1 = 131072\nABDAY2 = 131073\nABDAY3 = 131074\nABDAY4 = 131075\nABDAY5 = 131076\nABDAY6 = 131077\nABDAY7 = 131078\nABMON1 = 131086\nABMON10 = 131095\nABMON11 = 131096\nABMON12 = 131097\nABMON2 = 131087\nABMON3 = 131088\nABMON4 = 131089\nABMON5 = 131090\nABMON6 = 131091\nABMON7 = 131092\nABMON8 = 131093\nABMON9 = 131094\nALTDIGITS = 131119\nAMSTR = 131110\nCHARMAX = 127\nCODESET = 14\nCRNCYSTR = 262159\nDAY1 = 131079\nDAY2 = 131080\nDAY3 = 131081\nDAY4 = 131082\nDAY5 = 131083\nDAY6 = 131084\nDAY7 = 131085\nDFMT = 131113\nDTFMT = 131112\nERA = 131116\nERADFMT = 131118\nERADTFMT = 131120\nERATFMT = 131121\nLCALL = 6\nLCCOLLATE = 3\nLCCTYPE = 0\nLCMESSAGES = 5\nLCMONETARY = 4\nLCNUMERIC = 1\nLCTIME = 2\nMON1 = 131098\nMON10 = 131107\nMON11 = 131108\nMON12 = 131109\nMON2 = 131099\nMON3 = 131100\nMON4 = 131101\nMON5 = 131102\nMON6 = 131103\nMON7 = 131104\nMON8 = 131105\nMON9 = 131106\nNOEXPR = 327681\nPMSTR = 131111\nRADIXCHAR = 65536\nTHOUSEP = 65537\nTFMT = 131114\nTFMTAMPM = 131115\nYESEXPR = 327680\n\n### FILE\n\n(built-in)\n\n"
        }
    ],
    "structuredContent": {
        "command": "_locale",
        "section": "",
        "mode": "pydoc",
        "summary": "locale - Support for POSIX locales.",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "CLASSES",
                "lines": 3,
                "subsections": [
                    {
                        "name": "class Error",
                        "lines": 67
                    }
                ]
            },
            {
                "name": "FUNCTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "bind_textdomain_codeset",
                        "lines": 2
                    },
                    {
                        "name": "bindtextdomain",
                        "lines": 2
                    },
                    {
                        "name": "dcgettext",
                        "lines": 2
                    },
                    {
                        "name": "dgettext",
                        "lines": 4
                    },
                    {
                        "name": "gettext",
                        "lines": 4
                    },
                    {
                        "name": "localeconv",
                        "lines": 2
                    },
                    {
                        "name": "nl_langinfo",
                        "lines": 2
                    },
                    {
                        "name": "setlocale",
                        "lines": 2
                    },
                    {
                        "name": "strcoll",
                        "lines": 2
                    },
                    {
                        "name": "strxfrm",
                        "lines": 2
                    },
                    {
                        "name": "textdomain",
                        "lines": 2
                    }
                ]
            },
            {
                "name": "DATA",
                "lines": 64,
                "subsections": []
            },
            {
                "name": "FILE",
                "lines": 3,
                "subsections": []
            }
        ]
    }
}