summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-09-07 18:46:34 (GMT)
committerGitHub <noreply@github.com>2021-09-07 18:46:34 (GMT)
commita272ffef33d956a1d5bcb4712f95490330a5c5d7 (patch)
treee34dff8a9ba17e8aefef7682a1de023cca19f270 /Modules
parent31be544721670516fa9700e088c022ff38b0c5fe (diff)
downloadcpython-a272ffef33d956a1d5bcb4712f95490330a5c5d7.zip
cpython-a272ffef33d956a1d5bcb4712f95490330a5c5d7.tar.gz
cpython-a272ffef33d956a1d5bcb4712f95490330a5c5d7.tar.bz2
Remove documentation for non-existing socket class attributes (GH-28029)
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>
Diffstat (limited to 'Modules')
-rw-r--r--Modules/socketmodule.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index a5f24684..898ec05 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!");