0c53e353e20b — Oliver Cope 4 years ago
Export top-level symbols explicitly
1 files changed, 18 insertions(+), 2 deletions(-)

M mailtools/__init__.py
M mailtools/__init__.py +18 -2
@@ 5,5 5,21 @@ Exports all symbols from ``mailtools.mai
 """
 __version__ = "3.0.0-dev0"
 
-from mailtools.mailer import *
-from mailtools.threadedmailer import *
+__all__ = (
+    "CopyMessages",
+    "Mailer",
+    "RedirectMessages",
+    "SMTPMailer",
+    "SMTPTransport",
+    "TestMailer",
+    "ThreadedMailer",
+)
+
+from mailtools.mailer import (
+    CopyMessages,
+    Mailer,
+    RedirectMessages,
+    SMTPMailer,
+    SMTPTransport,
+)
+from mailtools.threadedmailer import ThreadedMailer