mirror of https://github.com/python/cpython
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.
This commit is contained in:
parent
cb5c802dcf
commit
b3dec6f9ed
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue