]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove documentation for non-existing socket class attributes (GH-28029)
authorMatti Picus <matti.picus@gmail.com>
Tue, 7 Sep 2021 18:09:11 +0000 (21:09 +0300)
committerGitHub <noreply@github.com>
Tue, 7 Sep 2021 18:09:11 +0000 (20:09 +0200)
The functions in question are available on the module-level only.

Modules/socketmodule.c

index a5f2468424b2509217f3258e1119ec7718507d0c..898ec05ab7b1d958c880698065ead0e0ffb9cee8 100644 (file)
@@ -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!");