diff Modules/arraymodule.c @ 43565:b4035d3665bb

Fix typo: formats -> format. (Only mattered in wide unicode builds.)
author Guido van Rossum <guido@python.org>
date Sun, 14 Oct 2007 20:46:15 +0000
parents 8e72dacf7f3a
children 0d462d789b18
line wrap: on
line diff
--- a/Modules/arraymodule.c	Sun Oct 14 03:23:09 2007 +0000
+++ b/Modules/arraymodule.c	Sun Oct 14 20:46:15 2007 +0000
@@ -1812,7 +1812,7 @@
                 view->format = self->ob_descr->formats;
 #ifdef Py_UNICODE_WIDE
 		if (self->ob_descr->typecode == 'u') {
-			view->formats = "w";
+			view->format = "w";
 		}
 #endif
         }