From: uy-rrodriguez <5296200+uy-rrodriguez@users.noreply.github.com> Date: Mon, 26 Apr 2021 01:56:37 +0000 (+0100) Subject: Quick pydoc update to smtplib.py (GH-22292) X-Git-Tag: v3.10.0b1~157 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b3dec6f9ede35fc3bf7ae1baf0aa5f2ce1b6bf9d;p=thirdparty%2FPython%2Fcpython.git Quick pydoc update to smtplib.py (GH-22292) Fixing minor mistake in the quotes around a couple of arguments for the constructor of the class `SMTP`, in smtplib.py. --- diff --git a/Lib/smtplib.py b/Lib/smtplib.py index 0317248b7498..bfba5c8f21be 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,