summaryrefslogtreecommitdiff
path: root/Lib/calendar.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-01-22 17:00:11 -0800
committerGitHub <noreply@github.com>2022-01-23 02:00:11 +0100
commitf66ef3eab62c6d262ddbc8ab16fb43c8921ad33a (patch)
tree241d32dbf875b98a55549ce5b39d5d418dc656c5 /Lib/calendar.py
parent486b4d3d8e1a5699a2854e310c58fe12b220b7a9 (diff)
downloadcpython-git-f66ef3eab62c6d262ddbc8ab16fb43c8921ad33a.tar.gz
bpo-46266: Add calendar day of week constants to __all__ (GH-30412) (GH-30424)
(cherry picked from commit e5894ca8fd05e6a6df1033025b9093b68baa718d) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Diffstat (limited to 'Lib/calendar.py')
-rw-r--r--Lib/calendar.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/calendar.py b/Lib/calendar.py
index 7311a01737..cbea9ec99f 100644
--- a/Lib/calendar.py
+++ b/Lib/calendar.py
@@ -15,7 +15,9 @@ __all__ = ["IllegalMonthError", "IllegalWeekdayError", "setfirstweekday",
"monthcalendar", "prmonth", "month", "prcal", "calendar",
"timegm", "month_name", "month_abbr", "day_name", "day_abbr",
"Calendar", "TextCalendar", "HTMLCalendar", "LocaleTextCalendar",
- "LocaleHTMLCalendar", "weekheader"]
+ "LocaleHTMLCalendar", "weekheader",
+ "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY",
+ "SATURDAY", "SUNDAY"]
# Exception raised for bad input (with string parameter for details)
error = ValueError