summaryrefslogtreecommitdiffstats
path: root/Doc/lib/email-simple.py
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib/email-simple.py')
-rw-r--r--Doc/lib/email-simple.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/email-simple.py b/Doc/lib/email-simple.py
index a445f1b..44152a4 100644
--- a/Doc/lib/email-simple.py
+++ b/Doc/lib/email-simple.py
@@ -2,7 +2,7 @@
import smtplib
# Import the email modules we'll need
-from email.MIMEText import MIMEText
+from email.mime.text import MIMEText
# Open a plain text file for reading. For this example, assume that
# the text file contains only ASCII characters.