summaryrefslogtreecommitdiffstats
path: root/Lib/smtplib.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2002-03-25 04:00:38 (GMT)
committerBarry Warsaw <barry@python.org>2002-03-25 04:00:38 (GMT)
commit4b186aff486400c3a7412ee552587f5a30be2381 (patch)
treed396f636b8716be860858c60152e3d2a768f35cb /Lib/smtplib.py
parent714d7268d5dcd9233bb8b3580cd9bce5a5a9fc50 (diff)
downloadcpython-4b186aff486400c3a7412ee552587f5a30be2381.zip
cpython-4b186aff486400c3a7412ee552587f5a30be2381.tar.gz
cpython-4b186aff486400c3a7412ee552587f5a30be2381.tar.bz2
SMTP.__init__(): Fixed minor typo in docstring.
Diffstat (limited to 'Lib/smtplib.py')
-rwxr-xr-xLib/smtplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/smtplib.py b/Lib/smtplib.py
index a6224e0..0695840 100755
--- a/Lib/smtplib.py
+++ b/Lib/smtplib.py
@@ -228,7 +228,7 @@ class SMTP:
By default, smtplib.SMTP_PORT is used. An SMTPConnectError is raised
if the specified `host' doesn't respond correctly. If specified,
`local_hostname` is used as the FQDN of the local host. By default,
- the local hostname is found using gethostbyname().
+ the local hostname is found using socket.getfqdn().
"""
self.esmtp_features = {}