diff Modules/arraymodule.c @ 1313:6ee380349c84 legacy-trunk

* Added gmtime/localtime/mktime and SYSV timezone globals to timemodule.c. Added $(SYSDEF) to its build rule in Makefile. * cgensupport.[ch], modsupport.[ch]: removed some old stuff. Also changed files that still used it... And made several things static that weren't but should have been... And other minor cleanups... * listobject.[ch]: add external interfaces {set,get}listslice * socketmodule.c: fix bugs in new send() argument parsing. * sunaudiodevmodule.c: added flush() and close().
author Guido van Rossum <guido@python.org>
date Thu, 17 Jun 1993 12:35:49 +0000
parents 2919b448e385
children a22a350d3a5d
line wrap: on
line diff
--- a/Modules/arraymodule.c	Mon Jun 14 08:47:54 1993 +0000
+++ b/Modules/arraymodule.c	Thu Jun 17 12:35:49 1993 +0000
@@ -209,7 +209,7 @@
 }
 
 /* Description of types */
-struct arraydescr descriptors[] = {
+static struct arraydescr descriptors[] = {
 	{'c', sizeof(char), c_getitem, c_setitem},
 	{'b', sizeof(char), b_getitem, b_setitem},
 	{'h', sizeof(short), h_getitem, h_setitem},