mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Fix typo: formats -> format. (Only mattered in wide unicode builds.)
This commit is contained in:
parent
6c91378011
commit
7c4c6c5d8a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue