]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove documentation for non-existing socket class attributes (GH-28029) (GH-28221)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 7 Sep 2021 18:45:57 +0000 (11:45 -0700)
committerGitHub <noreply@github.com>
Tue, 7 Sep 2021 18:45:57 +0000 (20:45 +0200)
The functions in question are available on the module-level only.
(cherry picked from commit 34d82ce7cb82a8f5e2e83417d66d9aa319f3bb69)

Co-authored-by: Matti Picus <matti.picus@gmail.com>
Modules/socketmodule.c

index 89531851c857569540ea9b98ddf4c479852f8876..dcb11ef62053ab5b89eaf034eee48c14ef8912c4 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!");