]> granicus.if.org Git - python/commitdiff
SMTP.__init__(): Fixed minor typo in docstring.
authorBarry Warsaw <barry@python.org>
Mon, 25 Mar 2002 04:00:38 +0000 (04:00 +0000)
committerBarry Warsaw <barry@python.org>
Mon, 25 Mar 2002 04:00:38 +0000 (04:00 +0000)
Lib/smtplib.py

index a6224e0c42165cf0de9736e0461298750f06d354..0695840df78f7da11b5b4fa7546149a67baab7d2 100755 (executable)
@@ -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 = {}