summaryrefslogtreecommitdiffstats
path: root/Modules/arraymodule.c
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-10-25 07:05:34 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-10-25 07:05:34 (GMT)
commit90bf5f11713bbb3cf484e49a5cd9f0faecd86212 (patch)
tree5c75191ff211dc01156294e4a88e71dc1aec540b /Modules/arraymodule.c
parent199786bddecbd856779b050b54c099f229deee3e (diff)
downloadcpython-90bf5f11713bbb3cf484e49a5cd9f0faecd86212.zip
cpython-90bf5f11713bbb3cf484e49a5cd9f0faecd86212.tar.gz
cpython-90bf5f11713bbb3cf484e49a5cd9f0faecd86212.tar.bz2
Remove mention of narrow/wide builds and update array doc, add a test.
Diffstat (limited to 'Modules/arraymodule.c')
-rw-r--r--Modules/arraymodule.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c
index 09cca60..bb0d72b 100644
--- a/Modules/arraymodule.c
+++ b/Modules/arraymodule.c
@@ -2593,7 +2593,7 @@ is a single character. The following type codes are defined:\n\
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 @@ is a single character. The following type codes are defined:\n\
'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\