Skip to content

Commit 6d4556f

Browse files
Quick pydoc update to smtplib.py (pythonGH-22292) (pythonGH-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 b3dec6f) Co-authored-by: uy-rrodriguez <5296200+uy-rrodriguez@users.noreply.github.com>
1 parent 9ca20fd commit 6d4556f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/smtplib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,8 @@ def __init__(self, host='', port=0, local_hostname=None,
231231
source_address=None):
232232
"""Initialize a new instance.
233233
234-
If specified, `host' is the name of the remote host to which to
235-
connect. If specified, `port' specifies the port to which to connect.
234+
If specified, `host` is the name of the remote host to which to
235+
connect. If specified, `port` specifies the port to which to connect.
236236
By default, smtplib.SMTP_PORT is used. If a host is specified the
237237
connect method is called, and if it returns anything other than a
238238
success code an SMTPConnectError is raised. If specified,

0 commit comments

Comments
 (0)