Home
last modified time | relevance | path

Searched refs:has_extn (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Lib/
Dsmtplib.py457 def has_extn(self, opt): member in SMTP
584 if not self.has_extn("auth"):
643 if not self.has_extn("starttls"):
728 if self.has_extn('size'):
/external/python/cpython2/Lib/test/
Dtest_smtplib.py471 self.assertTrue(smtp.has_extn(k))
472 self.assertFalse(smtp.has_extn('unsupported-feature'))
/external/python/cpython2/Doc/library/
Dsmtplib.rst206 response for ESMTP option and store them for use by :meth:`has_extn`.
214 Unless you wish to use :meth:`has_extn` before sending mail, it should not be
229 .. method:: SMTP.has_extn(name)