summaryrefslogtreecommitdiffstats
path: root/Doc/library/locale.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/locale.rst')
-rw-r--r--Doc/library/locale.rst10
1 files changed, 6 insertions, 4 deletions
diff --git a/Doc/library/locale.rst b/Doc/library/locale.rst
index f172a55..426e3a0 100644
--- a/Doc/library/locale.rst
+++ b/Doc/library/locale.rst
@@ -281,7 +281,8 @@ The :mod:`locale` module defines the following exception and functions:
.. data:: ERA
- Get a string that represents the era used in the current locale.
+ Get a string which describes how years are counted and displayed for
+ each era in a locale.
Most locales do not define this value. An example of a locale which does
define this value is the Japanese one. In Japan, the traditional
@@ -290,9 +291,10 @@ The :mod:`locale` module defines the following exception and functions:
Normally it should not be necessary to use this value directly. Specifying
the ``E`` modifier in their format strings causes the :func:`time.strftime`
- function to use this information. The format of the returned string is not
- specified, and therefore you should not assume knowledge of it on different
- systems.
+ function to use this information.
+ The format of the returned string is specified in *The Open Group Base
+ Specifications Issue 8*, paragraph `7.3.5.2 LC_TIME C-Language Access
+ <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap07.html#tag_07_03_05_02>`_.
.. data:: ERA_D_T_FMT