Skip to content

Commit 3249c3d

Browse files
author
guido.van.rossum
committed
Fix typo: formats -> format. (Only mattered in wide unicode builds.)
git-svn-id: http://svn.python.org/projects/python/branches/py3k@58461 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 2399afb commit 3249c3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/arraymodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1812,7 +1812,7 @@ array_buffer_getbuf(arrayobject *self, Py_buffer *view, int flags)
18121812
view->format = self->ob_descr->formats;
18131813
#ifdef Py_UNICODE_WIDE
18141814
if (self->ob_descr->typecode == 'u') {
1815-
view->formats = "w";
1815+
view->format = "w";
18161816
}
18171817
#endif
18181818
}

0 commit comments

Comments
 (0)