* 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
This commit is contained in:
Guido van Rossum 1994-08-05 13:44:50 +00:00
parent 781db5d0bb
commit c65a525cdc
5 changed files with 21 additions and 10 deletions

View file

@ -256,7 +256,7 @@ strop_rindex(self, args)
}
if (n == 0)
return newintobject((long)i);
return newintobject((long)len);
for (j = len-n; j >= i; --j)
if (s[j] == sub[0] &&