diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-04-26 04:03:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-26 04:03:43 (GMT) |
commit | 6d4556f375977f4555fc2ec05c84063a425197a1 (patch) | |
tree | 6abc659dfb6d3932805d9f636cb38310d7ac0058 | |
parent | 9ca20fdc4c27e31832adbd6d393a87e7d8953e3c (diff) | |
download | cpython-6d4556f375977f4555fc2ec05c84063a425197a1.zip cpython-6d4556f375977f4555fc2ec05c84063a425197a1.tar.gz cpython-6d4556f375977f4555fc2ec05c84063a425197a1.tar.bz2 |
Quick pydoc update to smtplib.py (GH-22292) (GH-25616)
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>
-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 b7a2715..4c5ba7e 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, |