mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -231,8 +231,8 @@ class SMTP:
|
||||||
source_address=None):
|
source_address=None):
|
||||||
"""Initialize a new instance.
|
"""Initialize a new instance.
|
||||||
|
|
||||||
If specified, `host' is the name of the remote host to which to
|
If specified, `host` is the name of the remote host to which to
|
||||||
connect. If specified, `port' specifies the port to which to connect.
|
connect. If specified, `port` specifies the port to which to connect.
|
||||||
By default, smtplib.SMTP_PORT is used. If a host is specified the
|
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
|
connect method is called, and if it returns anything other than a
|
||||||
success code an SMTPConnectError is raised. If specified,
|
success code an SMTPConnectError is raised. If specified,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue