[Python-checkins] Quick pydoc update to smtplib.py (GH-22292)

orsenthil webhook-mailer at python.org
Sun Apr 25 21:56:41 EDT 2021


https://github.com/python/cpython/commit/b3dec6f9ede35fc3bf7ae1baf0aa5f2ce1b6bf9d
commit: b3dec6f9ede35fc3bf7ae1baf0aa5f2ce1b6bf9d
branch: master
author: uy-rrodriguez <5296200+uy-rrodriguez at users.noreply.github.com>
committer: orsenthil <skumaran at gatech.edu>
date: 2021-04-25T18:56:37-07:00
summary:

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.

files:
M Lib/smtplib.py

diff --git a/Lib/smtplib.py b/Lib/smtplib.py
index 0317248b74988..bfba5c8f21be0 100755
--- a/Lib/smtplib.py
+++ b/Lib/smtplib.py
@@ -231,8 +231,8 @@ def __init__(self, host='', port=0, local_hostname=None,
                  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,



More information about the Python-checkins mailing list