summaryrefslogtreecommitdiff
path: root/Lib/calendar.py
diff options
context:
space:
mode:
authorHubert Badocha <badocha.hubert@gmail.com>2021-09-15 22:36:38 +0200
committerGitHub <noreply@github.com>2021-09-15 22:36:38 +0200
commita75a2577259a55d816de24a4cca16aad74e02aa5 (patch)
treed50a004a7554261877a038e71c07df4157c572df /Lib/calendar.py
parent3814e2036d96e2b6c69afce61926bb0a2a34d2d9 (diff)
downloadcpython-git-a75a2577259a55d816de24a4cca16aad74e02aa5.tar.gz
bpo-39710: Remove Python 2-specific sentence from calendar documentation (GH-26985)
Diffstat (limited to 'Lib/calendar.py')
-rw-r--r--Lib/calendar.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/Lib/calendar.py b/Lib/calendar.py
index 7311a01737..663bb946b0 100644
--- a/Lib/calendar.py
+++ b/Lib/calendar.py
@@ -558,9 +558,7 @@ class different_locale:
class LocaleTextCalendar(TextCalendar):
"""
This class can be passed a locale name in the constructor and will return
- month and weekday names in the specified locale. If this locale includes
- an encoding all strings containing month and weekday names will be returned
- as unicode.
+ month and weekday names in the specified locale.
"""
def __init__(self, firstweekday=0, locale=None):
@@ -581,9 +579,7 @@ class LocaleTextCalendar(TextCalendar):
class LocaleHTMLCalendar(HTMLCalendar):
"""
This class can be passed a locale name in the constructor and will return
- month and weekday names in the specified locale. If this locale includes
- an encoding all strings containing month and weekday names will be returned
- as unicode.
+ month and weekday names in the specified locale.
"""
def __init__(self, firstweekday=0, locale=None):
HTMLCalendar.__init__(self, firstweekday)