[ python-Bugs-1619680 ] ctypes in_dll documented with wrong argument order

SourceForge.net noreply at sourceforge.net
Wed Dec 20 21:21:40 CET 2006


Bugs item #1619680, was opened at 2006-12-20 14:19
Message generated for change (Comment added) made by akuchling
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1619680&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: Python 2.5
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Lenard Lindstrom (kermode)
>Assigned to: A.M. Kuchling (akuchling)
Summary: ctypes in_dll documented with wrong argument order

Initial Comment:
"Python Library Reference", section 14.14.2.6 "Data types"

Quote:

    in_dll( name, library) 

    This method returns a ctypes type instance exported
    by a shared library. name is the name of the symbol
    that exports the data, library is the loaded shared
    library. 


The arguments are reversed, of course. I believe the attached patch for libctypes.tex corrects it.


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

>Comment By: A.M. Kuchling (akuchling)
Date: 2006-12-20 15:21

Message:
Logged In: YES 
user_id=11375
Originator: NO

Thanks for pointing this out; patch applied to trunk in rev. 53117 and
2.5-maint in rev. 53118.


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

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


More information about the Python-bugs-list mailing list