8000 Fix docs build on Python 3.12 (#3144) · urllib3/urllib3@80808b0 · GitHub
[go: up one dir, main page]

8000 Skip to content

Commit 80808b0

Browse files
authored
Fix docs build on Python 3.12 (#3144)
1 parent f28deff commit 80808b0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/urllib3/util/ssl_.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,8 +411,10 @@ def ssl_wrap_socket(
411411
tls_in_tls: bool = False,
412412
) -> ssl.SSLSocket | SSLTransportType:
413413
"""
414-
All arguments except for server_hostname, ssl_context, and ca_cert_dir have
415-
the same meaning as they do when using :func:`ssl.wrap_socket`.
414+
All arguments except for server_hostname, ssl_context, tls_in_tls, ca_cert_data and
415+
ca_cert_dir have the same meaning as they do when using
416+
:func:`ssl.create_default_context`, :meth:`ssl.SSLContext.load_cert_chain`,
417+
:meth:`ssl.SSLContext.set_ciphers` and :meth:`ssl.SSLContext.wrap_socket`.
416418
417419
:param server_hostname:
418420
When SNI is supported, the expected hostname of the certificate

0 commit comments

Comments
 (0)
0