mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Quick pydoc update to smtplib.py (GH-22292) (GH-25615)
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 b3dec6f9ed)
Co-authored-by: uy-rrodriguez <5296200+uy-rrodriguez@users.noreply.github.com>
This commit is contained in:
parent
b47f05157b
commit
a3c6752f71
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue