diff options
author | Hugo van Kemenade <hugovk@users.noreply.github.com> | 2022-12-28 19:43:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-28 19:43:19 (GMT) |
commit | 9eca7235af84bb4cc29a54a16af8730b01878722 (patch) | |
tree | 64036c77d35f715cb2bb7baf6ac878850cc1a326 /Misc | |
parent | 025b5c37800ce7a0e487a522171b479bf8235267 (diff) | |
download | cpython-9eca7235af84bb4cc29a54a16af8730b01878722.zip cpython-9eca7235af84bb4cc29a54a16af8730b01878722.tar.gz cpython-9eca7235af84bb4cc29a54a16af8730b01878722.tar.bz2 |
gh-94172: Update docs for params removed in 3.12 (#100431)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/3.12.0a2.rst | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Misc/NEWS.d/3.12.0a2.rst b/Misc/NEWS.d/3.12.0a2.rst index 4029856..318f3f7 100644 --- a/Misc/NEWS.d/3.12.0a2.rst +++ b/Misc/NEWS.d/3.12.0a2.rst @@ -725,9 +725,11 @@ Fix handling of ``bytes`` :term:`path-like objects <path-like object>` in .. nonce: AXE2IZ .. section: Library -Remove the *keyfile*, *certfile* and *check_hostname* parameters, deprecated -since Python 3.6, in modules: :mod:`ftplib`, :mod:`http.client`, -:mod:`imaplib`, :mod:`poplib` and :mod:`smtplib`. Use the *context* +Remove the *keyfile* and *certfile* parameters from the +:mod:`ftplib`, :mod:`imaplib`, :mod:`poplib` and :mod:`smtplib` modules, +and the *key_file*, *cert_file* and *check_hostname* parameters from the +:mod:`http.client` module, +all deprecated since Python 3.6. Use the *context* parameter (*ssl_context* in :mod:`imaplib`) instead. Patch by Victor Stinner. |