Mercurial > cpython-lru_cache-weakref
diff Modules/arraymodule.c @ 73120:98c0265cf7b9
Remove mention of narrow/wide builds and update array doc, add a test.
| author | Ezio Melotti <ezio.melotti@gmail.com> |
|---|---|
| date | Tue, 25 Oct 2011 10:05:34 +0300 |
| parents | b82e68cf3b0d |
| children | b7c5e30582d1 |
line wrap: on
line diff
--- a/Modules/arraymodule.c Tue Oct 25 09:42:01 2011 +0300 +++ b/Modules/arraymodule.c Tue Oct 25 10:05:34 2011 +0300 @@ -2593,7 +2593,7 @@ Type code C Type Minimum size in bytes \n\ 'b' signed integer 1 \n\ 'B' unsigned integer 1 \n\ - 'u' Unicode character 2 (see note) \n\ + 'u' Unicode character 4 \n\ 'h' signed integer 2 \n\ 'H' unsigned integer 2 \n\ 'i' signed integer 2 \n\ @@ -2605,9 +2605,6 @@ 'f' floating point 4 \n\ 'd' floating point 8 \n\ \n\ -NOTE: The 'u' type code corresponds to Python's unicode character. On \n\ -narrow builds this is 2-bytes on wide builds this is 4-bytes.\n\ -\n\ NOTE: The 'q' and 'Q' type codes are only available if the platform \n\ C compiler used to build Python supports 'long long', or, on Windows, \n\ '__int64'.\n\
