[ python-Bugs-1593829 ] small problem with description

SourceForge.net noreply at sourceforge.net
Fri Nov 10 00:49:50 CET 2006


Bugs item #1593829, was opened at 2006-11-09 18:49
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1593829&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Atlas (bauersj)
Assigned to: Nobody/Anonymous (nobody)
Summary: small problem with description

Initial Comment:
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.
"""

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1593829&group_id=5470


More information about the Python-bugs-list mailing list