]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Quick pydoc update to smtplib.py (GH-22292)
authoruy-rrodriguez <5296200+uy-rrodriguez@users.noreply.github.com>
Mon, 26 Apr 2021 01:56:37 +0000 (02:56 +0100)
committerGitHub <noreply@github.com>
Mon, 26 Apr 2021 01:56:37 +0000 (18:56 -0700)
Fixing minor mistake in the quotes around a couple of arguments for the constructor of the class `SMTP`, in smtplib.py.

Lib/smtplib.py

index 0317248b7498847c4fa30bdc6cbb38b3dbc1b187..bfba5c8f21be06fc81176f2ae0d86a9e3e73239d 100755 (executable)
@@ -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,