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.

Title: Minor typos in ctypes docs
Type: Stage:
Components: Documentation Versions: Python 3.0, Python 3.1, Python 3.2, Python 2.7, Python 2.6, Python 2.5
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, lehmannro
Priority: normal Keywords: patch

Created on 2009-05-14 10:41 by lehmannro, last changed 2022-04-11 14:56 by admin. This issue is now closed.

File name Uploaded Description Edit
ctypes-docs.patch lehmannro, 2009-05-14 10:41 Doc/library/ctypes.rst patch, trunk
Messages (2)
msg87733 - (view) Author: Robert Lehmann (lehmannro) * Date: 2009-05-14 10:41
There are a few errors in the ctypes documentation covering function
calls using the example of `libc.printf`. It's basically just typos but
they are really confusing when trying to understand the examples.

Patch to trunk is attached. Corrections should apply to 3.x as well but
I'm unsure whether they apply cleanly to those branches, see issue4309
for details.

Unicode coercion as in printf("%S", u"abc") keeps segfaulting for me
with 2.5 so I'm unsure about the example's validity there; corrections
could be backported to 2.5-maint as well though. 2.4 and below are not
affected: ctypes was not present in these versions.
msg87796 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-05-15 08:04
Fixed in r72661.
Date User Action Args
2022-04-11 14:56:48adminsetgithub: 50269
2009-05-15 08:04:18georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg87796
2009-05-14 10:41:21lehmannrocreate