diff options
| author | uy-rrodriguez <5296200+uy-rrodriguez@users.noreply.github.com> | 2021-04-26 02:56:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-25 18:56:37 -0700 |
| commit | b3dec6f9ede35fc3bf7ae1baf0aa5f2ce1b6bf9d (patch) | |
| tree | 47db92600b01e0c0955ff6fdd616b4201213d941 /Lib/smtplib.py | |
| parent | cb5c802dcf8851663c4eac5d73f968f626a3a1dc (diff) | |
| download | cpython-git-b3dec6f9ede35fc3bf7ae1baf0aa5f2ce1b6bf9d.tar.gz | |
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.
Diffstat (limited to 'Lib/smtplib.py')
| -rwxr-xr-x | Lib/smtplib.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/smtplib.py b/Lib/smtplib.py index 0317248b74..bfba5c8f21 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, |
