summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-02-24 13:29:08 (GMT)
committerGitHub <noreply@github.com>2022-02-24 13:29:08 (GMT)
commit4fccf910738d1442852cb900747e6dccb8fe03ef (patch)
tree55d6f9d4fc4f1960cba7daa3d27a77af0c5200eb /Doc
parentae3adbeaedb0536292f4542a0d42063410ae150f (diff)
downloadcpython-4fccf910738d1442852cb900747e6dccb8fe03ef.zip
cpython-4fccf910738d1442852cb900747e6dccb8fe03ef.tar.gz
cpython-4fccf910738d1442852cb900747e6dccb8fe03ef.tar.bz2
bpo-46659: Enhance LocaleTextCalendar for C locale (GH-31214)
If the LC_TIME locale is "C", use the user preferred locale.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/calendar.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/calendar.rst b/Doc/library/calendar.rst
index 86f5b14..66f59f0 100644
--- a/Doc/library/calendar.rst
+++ b/Doc/library/calendar.rst
@@ -289,9 +289,10 @@ interpreted as prescribed by the ISO 8601 standard. Year 0 is 1 BC, year -1 is
.. note::
- The :meth:`formatweekday` and :meth:`formatmonthname` methods of these two
- classes temporarily change the ``LC_TIME`` locale to the given *locale*. Because
- the current locale is a process-wide setting, they are not thread-safe.
+ The constructor, :meth:`formatweekday` and :meth:`formatmonthname` methods
+ of these two classes temporarily change the ``LC_TIME`` locale to the given
+ *locale*. Because the current locale is a process-wide setting, they are
+ not thread-safe.
For simple text calendars this module provides the following functions.