summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-08-05 13:44:50 (GMT)
committerGuido van Rossum <guido@python.org>1994-08-05 13:44:50 (GMT)
commitc65a525cdc9ce2e0af56e1a75deb877e935cee2f (patch)
tree3d9826ef689cd442f8906c2fed6b8eed008b4acc /Modules/socketmodule.c
parent781db5d0bb24889dbcd06203b38d4eb886d45f87 (diff)
downloadcpython-c65a525cdc9ce2e0af56e1a75deb877e935cee2f.zip
cpython-c65a525cdc9ce2e0af56e1a75deb877e935cee2f.tar.gz
cpython-c65a525cdc9ce2e0af56e1a75deb877e935cee2f.tar.bz2
* Modules/{Setup.in,Makefile.pre.in}: renamed some modules to
shorter names (dropped the "module" from the name): sunaudiodev, imgformat, audioop, imageop, imgfile * Modules/stropmodule.c (strop_rindex): make rindex('abc', '') do the right thing (i.e. return 3 instead of 0) * Modules/socketmodule.c: disabled allowbroadcast() socket method
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r--Modules/socketmodule.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 32f22db..6340fbc 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -380,6 +380,7 @@ sock_accept(s, args)
}
+#if 0
/* s.allowbroadcast() method */
/* XXX obsolete -- will disappear in next release */
@@ -399,6 +400,7 @@ sock_allowbroadcast(s, args)
INCREF(None);
return None;
}
+#endif
/* s.setsockopt() method.
@@ -796,7 +798,9 @@ sock_shutdown(s, args)
static struct methodlist sock_methods[] = {
{"accept", (method)sock_accept},
+#if 0
{"allowbroadcast", (method)sock_allowbroadcast},
+#endif
{"setsockopt", (method)sock_setsockopt},
{"getsockopt", (method)sock_getsockopt},
{"bind", (method)sock_bind},