@@ -100,19 +100,12 @@ Protocol) and :rfc:`1869` (SMTP Service Extensions).
100
100
:attr: `ssl.SSLContext.check_hostname ` and *Server Name Indication * (see
101
101
:data: `ssl.HAS_SNI `).
102
102
103
- .. deprecated :: 3.6
104
-
105
- *keyfile * and *certfile * are deprecated in favor of *context *.
106
- Please use :meth: `ssl.SSLContext.load_cert_chain ` instead, or let
107
- :func: `ssl.create_default_context ` select the system's trusted CA
108
- certificates for you.
109
-
110
103
.. versionchanged :: 3.9
111
104
If the *timeout * parameter is set to be zero, it will raise a
112
105
:class: `ValueError ` to prevent the creation of a non-blocking socket
113
106
114
107
.. versionchanged :: 3.12
115
- The deprecated *keyfile * and *certfile * parameters have been removed.
108
+ The deprecated *keyfile * and *certfile * parameters have been removed.
116
109
117
110
.. class :: LMTP(host='', port=LMTP_PORT, local_hostname=None, \
118
111
source_address=None[, timeout])
@@ -407,15 +400,8 @@ An :class:`SMTP` instance has the following methods:
407
400
If there has been no previous ``EHLO `` or ``HELO `` command this session,
408
401
this method tries ESMTP ``EHLO `` first.
409
402
410
- .. deprecated :: 3.6
411
-
412
- *keyfile * and *certfile * are deprecated in favor of *context *.
413
- Please use :meth: `ssl.SSLContext.load_cert_chain ` instead, or let
414
- :func: `ssl.create_default_context ` select the system's trusted CA
415
- certificates for you.
416
-
417
403
.. versionchanged :: 3.12
418
- The deprecated *keyfile * and *certfile * parameters have been removed.
404
+ The deprecated *keyfile * and *certfile * parameters have been removed.
419
405
420
406
:exc: `SMTPHeloError `
421
407
The server didn't reply properly to the ``HELO `` greeting.
0 commit comments