diff Modules/arraymodule.c @ 72489:dacac31460c0

Rename new macros to conform to naming rules (function macros have "Py" prefix, not "PY").
author Georg Brandl <georg@python.org>
date Wed, 28 Sep 2011 21:49:49 +0200
parents 8beaa9a37387
children 7042a83f37e6
line wrap: on
line diff
--- a/Modules/arraymodule.c	Wed Sep 28 20:29:27 2011 +0200
+++ b/Modules/arraymodule.c	Wed Sep 28 21:49:49 2011 +0200
@@ -2810,7 +2810,7 @@
 PyInit_array(void)
 {
     PyObject *m;
-    char buffer[PY_ARRAY_LENGTH(descriptors)], *p;
+    char buffer[Py_ARRAY_LENGTH(descriptors)], *p;
     PyObject *typecodes;
     Py_ssize_t size = 0;
     struct arraydescr *descr;