003 File Manager
Current Path:
/usr/local/share/doc/py38-Babel/api
usr
/
local
/
share
/
doc
/
py38-Babel
/
api
/
📁
..
📄
core.rst
(714 B)
📄
dates.rst
(1.71 KB)
📄
index.rst
(249 B)
📄
languages.rst
(290 B)
📄
lists.rst
(162 B)
📁
messages
📄
numbers.rst
(900 B)
📄
plural.rst
(479 B)
📄
support.rst
(418 B)
📄
units.rst
(232 B)
Editing: core.rst
Core Functionality ================== .. module:: babel.core The core API provides the basic core functionality. Primarily it provides the :class:`Locale` object and ways to create it. This object encapsulates a locale and exposes all the data it contains. All the core functionality is also directly importable from the `babel` module for convenience. Basic Interface --------------- .. autoclass:: Locale :members: .. autofunction:: default_locale .. autofunction:: negotiate_locale Exceptions ---------- .. autoexception:: UnknownLocaleError :members: Utility Functions ----------------- .. autofunction:: get_global .. autofunction:: parse_locale .. autofunction:: get_locale_identifier
Upload File
Create Folder