From: Matti Picus Date: Tue, 7 Sep 2021 18:09:11 +0000 (+0300) Subject: Remove documentation for non-existing socket class attributes (GH-28029) X-Git-Tag: v3.11.0a1~231 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=34d82ce7cb82a8f5e2e83417d66d9aa319f3bb69;p=thirdparty%2FPython%2Fcpython.git Remove documentation for non-existing socket class attributes (GH-28029) The functions in question are available on the module-level only. --- diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index a5f2468424b2..898ec05ab7b1 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -151,9 +151,6 @@ getblocking() -- return True if socket is blocking, False if non-blocking\n\ setsockopt(level, optname, value[, optlen]) -- set socket options\n\ settimeout(None | float) -- set or clear the timeout\n\ shutdown(how) -- shut down traffic in one or both directions\n\ -if_nameindex() -- return all network interface indices and names\n\ -if_nametoindex(name) -- return the corresponding interface index\n\ -if_indextoname(index) -- return the corresponding interface name\n\ \n\ [*] not available on all platforms!");