Skip to content

Commit 5c7381d

Browse files
committed
fix Sphinx references
1 parent 097c563 commit 5c7381d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/library/ssl.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,11 +1195,11 @@ SSL sockets also have the following additional methods and attributes:
11951195

11961196
Perform the SSL setup handshake.
11971197

1198-
If *block* is true and the timeout obtained by :meth:`~socket.gettimeout`
1198+
If *block* is true and the timeout obtained by :meth:`~socket.socket.gettimeout`
11991199
is zero, the socket is set in blocking mode until the handshake is performed.
12001200

12011201
.. versionchanged:: 3.4
1202-
The handshake method also performs :func:`match_hostname` when the
1202+
The handshake method also performs :func:`!match_hostname` when the
12031203
:attr:`~SSLContext.check_hostname` attribute of the socket's
12041204
:attr:`~SSLSocket.context` is true.
12051205

@@ -1209,7 +1209,7 @@ SSL sockets also have the following additional methods and attributes:
12091209

12101210
.. versionchanged:: 3.7
12111211
Hostname or IP address is matched by OpenSSL during handshake. The
1212-
function :func:`match_hostname` is no longer used. In case OpenSSL
1212+
function :func:`!match_hostname` is no longer used. In case OpenSSL
12131213
refuses a hostname or IP address, the handshake is aborted early and
12141214
a TLS alert message is sent to the peer.
12151215

@@ -2863,7 +2863,7 @@ This common check is automatically performed when
28632863

28642864
.. versionchanged:: 3.7
28652865
Hostname matchings is now performed by OpenSSL. Python no longer uses
2866-
:func:`match_hostname`.
2866+
:func:`!match_hostname`.
28672867

28682868
In server mode, if you want to authenticate your clients using the SSL layer
28692869
(rather than using a higher-level authentication mechanism), you'll also have

0 commit comments

Comments
 (0)