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: small problem with description
Type: Stage:
Components: Documentation Versions:
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: bauersj
Priority: normal Keywords:

Created on 2006-11-09 23:49 by bauersj, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (1)
msg30502 - (view) Author: Atlas (bauersj) Date: 2006-11-09 23:49
The ctypes documentation incorrectly indicates that
pointers have a "value" attribute.  I believe this should 
instead read a "contents" attribute.

"""
14.14.2.7 Fundamental data types

Subclasses of fundamental data types do not inherit
this   behaviour. So, if a foreign functions restype is
a subclass of c_void_p, you will receive an instance of
this subclass from the function call. Of course, you
can get the value of the pointer by accessing the value
attribute.
"""
History
Date User Action Args
2022-04-11 14:56:21adminsetgithub: 44219
2006-11-09 23:49:50bauersjcreate