diff --git a/Doc/library/smtplib.rst b/Doc/library/smtplib.rst index 5c97199bc453e8..14d7ae2b805662 100644 --- a/Doc/library/smtplib.rst +++ b/Doc/library/smtplib.rst @@ -51,7 +51,7 @@ Protocol) and :rfc:`1869` (SMTP Service Extensions). :keyword:`!with` statement exits. E.g.:: >>> from smtplib import SMTP - >>> with SMTP("domain.org") as smtp: + >>> with SMTP("smtp.gmail.com") as smtp: ... smtp.noop() ... (250, b'Ok')