summaryrefslogtreecommitdiffstats
path: root/Lib/datetime.py
diff options
context:
space:
mode:
authort k <tahia.khan@gmail.com>2019-09-19 13:34:41 (GMT)
committerPaul Ganssle <paul@ganssle.io>2019-09-19 13:34:41 (GMT)
commit96b1c59c71534db3f0f3799cd84e2006923a5098 (patch)
tree58abb7680d3a72a0388cf643546f6c099af122a0 /Lib/datetime.py
parent9fdc64cf1266b6d5bf0503847b5c38e5edc53a14 (diff)
downloadcpython-96b1c59c71534db3f0f3799cd84e2006923a5098.zip
cpython-96b1c59c71534db3f0f3799cd84e2006923a5098.tar.gz
cpython-96b1c59c71534db3f0f3799cd84e2006923a5098.tar.bz2
bpo-38155: Add __all__ to datetime module (GH-16203)
https://bugs.python.org/issue38155
Diffstat (limited to 'Lib/datetime.py')
-rw-r--r--Lib/datetime.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/datetime.py b/Lib/datetime.py
index 0adf1dd..6755519 100644
--- a/Lib/datetime.py
+++ b/Lib/datetime.py
@@ -4,6 +4,10 @@ See http://www.iana.org/time-zones/repository/tz-link.html for
time zone and DST data sources.
"""
+__all__ = ("date", "datetime", "time", "timedelta", "timezone", "tzinfo",
+ "MINYEAR", "MAXYEAR")
+
+
import time as _time
import math as _math
import sys