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: ctypes in_dll documented with wrong argument order
Type: Stage:
Components: Documentation Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: akuchling Nosy List: akuchling, kermode
Priority: normal Keywords:

Created on 2006-12-20 19:19 by kermode, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
in_dll_doc.patch kermode, 2006-12-20 19:19 libctypes.tex patch file
Messages (2)
msg30849 - (view) Author: Lenard Lindstrom (kermode) Date: 2006-12-20 19:19
"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.
msg30850 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2006-12-20 20:21
Thanks for pointing this out; patch applied to trunk in rev. 53117 and 2.5-maint in rev. 53118.
History
Date User Action Args
2022-04-11 14:56:21adminsetgithub: 44369
2006-12-20 19:19:12kermodecreate