From a3c6752f7109420f43a31501ca3b7258d85462f0 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sun, 25 Apr 2021 21:03:54 -0700 Subject: [PATCH] Quick pydoc update to smtplib.py (GH-22292) (GH-25615) Fixing minor mistake in the quotes around a couple of arguments for the constructor of the class `SMTP`, in smtplib.py. (cherry picked from commit b3dec6f9ede35fc3bf7ae1baf0aa5f2ce1b6bf9d) Co-authored-by: uy-rrodriguez <5296200+uy-rrodriguez@users.noreply.github.com> --- Lib/smtplib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/smtplib.py b/Lib/smtplib.py index 7b039692159b..4a5ca669f692 100755 --- a/Lib/smtplib.py +++ b/Lib/smtplib.py @@ -231,8 +231,8 @@ class SMTP: source_address=None): """Initialize a new instance. - If specified, `host' is the name of the remote host to which to - connect. If specified, `port' specifies the port to which to connect. + If specified, `host` is the name of the remote host to which to + connect. If specified, `port` specifies the port to which to connect. By default, smtplib.SMTP_PORT is used. If a host is specified the connect method is called, and if it returns anything other than a success code an SMTPConnectError is raised. If specified, -- 2.47.3