Skip to content

Commit 8e294a6

Browse files
committed
remove un-necessary directive
1 parent dca32b5 commit 8e294a6

File tree

2 files changed

+13
-18
lines changed

2 files changed

+13
-18
lines changed

Doc/library/intro.rst

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,6 @@ this material.
4848
Let the show begin!
4949

5050

51-
.. _requirements-notes:
52-
53-
Notes on requirements
54-
=====================
55-
56-
* A "Requirements: OpenSSL >= 3.5" note means that this function requires
57-
that Python has been built with OpenSSL 3.5 or later.
58-
59-
* A "Requirements: not AWS-LC" note means that this function is not available
60-
if Python has been built with AWS-LC instead of OpenSSL.
61-
62-
6351
.. _availability:
6452

6553
Notes on availability
@@ -77,6 +65,13 @@ Notes on availability
7765
*Availability: Linux >= 3.17 with glibc >= 2.27* requires both Linux 3.17 or
7866
newer and glibc 2.27 or newer.
7967

68+
* "Availability" notes may also be used to indicate requirements on how Python
69+
was built. For instance, "Availability: OpenSSL >= 3.5" note means that the
70+
feature is available if Python has been built with OpenSSL 3.5 or later,
71+
while "Availability: not AWS-LC" note means that the feature is not available
72+
if Python has been built with AWS-LC instead of OpenSSL.
73+
74+
8075
.. _wasm-availability:
8176

8277
WebAssembly platforms

Doc/library/ssl.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ Signature algorithms
232232
:meth:`SSLContext.set_client_sigalgs` and
233233
:meth:`SSLContext.set_server_sigalgs` methods.
234234

235-
.. requirements:: OpenSSL >= 3.4
235+
.. availability:: OpenSSL >= 3.4
236236

237237
.. versionadded:: next
238238

@@ -1320,7 +1320,7 @@ SSL sockets also have the following additional methods and attributes:
13201320
Return the group used for doing key agreement on this connection. If no
13211321
connection has been established, returns ``None``.
13221322

1323-
.. requirements:: OpenSSL >= 3.2
1323+
.. availability:: OpenSSL >= 3.2
13241324

13251325
.. versionadded:: next
13261326

@@ -1330,7 +1330,7 @@ SSL sockets also have the following additional methods and attributes:
13301330
authentication on this connection, or ``None`` if no connection has been
13311331
established or client authentication didn't occur.
13321332

1333-
.. requirements:: OpenSSL >= 3.5
1333+
.. availability:: OpenSSL >= 3.5
13341334

13351335
.. versionadded:: next
13361336

@@ -1340,7 +1340,7 @@ SSL sockets also have the following additional methods and attributes:
13401340
handshake on this connection, or ``None`` if no connection has been
13411341
established or the cipher suite has no signature.
13421342

1343-
.. requirements:: OpenSSL >= 3.5
1343+
.. availability:: OpenSSL >= 3.5
13441344

13451345
.. versionadded:: next
13461346

@@ -1718,7 +1718,7 @@ to speed up repeated connections from the same clients.
17181718
:const:`True` this method will also return any associated aliases such as
17191719
the ECDH curve names supported in older versions of OpenSSL.
17201720

1721-
.. requirements:: OpenSSL >= 3.5
1721+
.. availability:: OpenSSL >= 3.5
17221722

17231723
.. versionadded:: next
17241724

@@ -1787,7 +1787,7 @@ to speed up repeated connections from the same clients.
17871787
sockets will return the signature algorithm used for performing
17881788
certificate-based client authentication on that connection.
17891789

1790-
.. requirements:: not AWS-LC
1790+
.. availability:: not AWS-LC
17911791

17921792
.. versionadded:: next
17931793

0 commit comments

Comments
 (0)