From 96b1c59c71534db3f0f3799cd84e2006923a5098 Mon Sep 17 00:00:00 2001 From: t k Date: Thu, 19 Sep 2019 09:34:41 -0400 Subject: bpo-38155: Add __all__ to datetime module (GH-16203) https://bugs.python.org/issue38155 --- Lib/datetime.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Lib/datetime.py') diff --git a/Lib/datetime.py b/Lib/datetime.py index 0adf1dd67d..67555191d0 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 -- cgit v1.2.1