A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-December/031381.html below:

[Python-Dev] smtplib docs: has_option() or has_extn()?

[Python-Dev] smtplib docs: has_option() or has_extn()? [Python-Dev] smtplib docs: has_option() or has_extn()?Greg Ward gward@python.net
Fri, 27 Dec 2002 16:05:34 -0500
Doc/lib/libsmtplib.tex refers to a mythical has_option() method of SMTP
objects.  (The string 'has_option' occurs nowhere in Lib/smtplib.py.
Neither does 'hasoption'.)  I'm pretty sure that it should be talking
about has_extn(), ie.:

--- lib/libsmtplib.tex  24 Mar 2002 15:41:40 -0000      1.22
+++ lib/libsmtplib.tex  27 Dec 2002 21:03:40 -0000
@@ -138,9 +138,9 @@
 Identify yourself to an ESMTP server using \samp{EHLO}.  The hostname
 argument defaults to the fully qualified domain name of the local
 host.  Examine the response for ESMTP option and store them for use by
-\method{has_option()}.
+\method{has_extn()}.
 
-Unless you wish to use \method{has_option()} before sending
+Unless you wish to use \method{has_extn()} before sending
 mail, it should not be necessary to call this method explicitly.  It
 will be implicitly called by \method{sendmail()} when necessary.
 \end{methoddesc}

This look wrong to anyone?  (Or is my CVS out-of-date?)

        Greg
-- 
Greg Ward <gward@python.net>                         http://www.gerg.ca/
"Very funny, Scotty.  Now beam my *clothes* down."



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4