summaryrefslogtreecommitdiffstats
path: root/Modules/arraymodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-10-14 20:46:15 (GMT)
committerGuido van Rossum <guido@python.org>2007-10-14 20:46:15 (GMT)
commit7c4c6c5d8aa6eb7ed4e76017f9094783631e96dc (patch)
tree26f69ff58a9b3a75dd72a452b93079c6f6a13dcd /Modules/arraymodule.c
parent6c91378011ff1d39e0f504dedf31b9ecd75c90cf (diff)
downloadcpython-7c4c6c5d8aa6eb7ed4e76017f9094783631e96dc.zip
cpython-7c4c6c5d8aa6eb7ed4e76017f9094783631e96dc.tar.gz
cpython-7c4c6c5d8aa6eb7ed4e76017f9094783631e96dc.tar.bz2
Fix typo: formats -> format. (Only mattered in wide unicode builds.)
Diffstat (limited to 'Modules/arraymodule.c')
-rw-r--r--Modules/arraymodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c
index cc7769f..8a24a7e 100644
--- a/Modules/arraymodule.c
+++ b/Modules/arraymodule.c
@@ -1812,7 +1812,7 @@ array_buffer_getbuf(arrayobject *self, Py_buffer *view, int flags)
view->format = self->ob_descr->formats;
#ifdef Py_UNICODE_WIDE
if (self->ob_descr->typecode == 'u') {
- view->formats = "w";
+ view->format = "w";
}
#endif
}