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 b3dec6f9ed)

Co-authored-by: uy-rrodriguez <5296200+uy-rrodriguez@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2021-04-25 21:03:54 -07:00 committed by GitHub
parent b47f05157b
commit a3c6752f71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,