Mercurial > cpython-lru_cache-weakref
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 43562:9fbf733a0639 | 43565:b4035d3665bb |
|---|---|
| 1810 view->internal = NULL; | 1810 view->internal = NULL; |
| 1811 if ((flags & PyBUF_FORMAT) == PyBUF_FORMAT) { | 1811 if ((flags & PyBUF_FORMAT) == PyBUF_FORMAT) { |
| 1812 view->format = self->ob_descr->formats; | 1812 view->format = self->ob_descr->formats; |
| 1813 #ifdef Py_UNICODE_WIDE | 1813 #ifdef Py_UNICODE_WIDE |
| 1814 if (self->ob_descr->typecode == 'u') { | 1814 if (self->ob_descr->typecode == 'u') { |
| 1815 view->formats = "w"; | 1815 view->format = "w"; |
| 1816 } | 1816 } |
| 1817 #endif | 1817 #endif |
| 1818 } | 1818 } |
| 1819 | 1819 |
| 1820 finish: | 1820 finish: |
