]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Quick pydoc update to smtplib.py (GH-22292) (GH-25616)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 26 Apr 2021 04:03:43 +0000 (21:03 -0700)
committerGitHub <noreply@github.com>
Mon, 26 Apr 2021 04:03:43 +0000 (21:03 -0700)
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

index b7a2715cd5899915d66b9504cbbd4283bf1724ed..4c5ba7e10d0d9d30327ecdc49e31781db5b12813 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,