diff --git a/Doc/library/socketserver.rst b/Doc/library/socketserver.rst index e8d176edfcbda8..72e9a2e10804a8 100644 --- a/Doc/library/socketserver.rst +++ b/Doc/library/socketserver.rst @@ -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