[3.12] gh-64414: mention AF_INET6 and IPv6 in socketserver docs. (GH-129866) (#129869)

gh-64414: mention AF_INET6 and IPv6 in socketserver docs. (GH-129866)

mention AF_INET6 and IPv6 in socketserver docs.
(cherry picked from commit 5ce70ad129)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
This commit is contained in:
Miss Islington (bot) 2025-02-08 21:13:40 +01:00 committed by GitHub
parent 5c527f8ddc
commit d42eba880e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -260,8 +260,11 @@ Server Objects
.. attribute:: address_family
The family of protocols to which the server's socket belongs.
Common examples are :const:`socket.AF_INET` and :const:`socket.AF_UNIX`.
The family of protocols to which the server's socket belongs. Common
examples are :const:`socket.AF_INET`, :const:`socket.AF_INET6`, and
:const:`socket.AF_UNIX`. Subclass the TCP or UDP server classes in this
module with class attribute ``address_family = AF_INET6`` set if you
want IPv6 server classes.
.. attribute:: RequestHandlerClass