This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: module array: C type descriptions wrong
Type: Stage:
Components: Documentation Versions: Python 2.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: fdrake Nosy List: fdrake, histed
Priority: normal Keywords:

Created on 2002-03-28 20:57 by histed, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (2)
msg10083 - (view) Author: Mark Histed (histed) Date: 2002-03-28 20:57
The C types corresponding to the 'array' type codes
seem to be documented incorrectly.

See:
http://www.python.org/doc/current/lib/module-array.html

All C integer types are listed as 'int' or 'unsigned
int'.  I'm guessing from the sizes and the C standard
that these should be 'char', 'short', 'int', and 'long'.

This agrees with what the Python Essential reference
has to say (Beazley, p127)

msg10084 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2002-04-01 23:06
Logged In: YES 
user_id=3066

Fixed in Doc/lib/libarray.tex revisions 1.31.8.1 and 1.33.
History
Date User Action Args
2022-04-10 16:05:10adminsetgithub: 36350
2002-03-28 20:57:44histedcreate