[New-bugs-announce] [issue16192] ctypes - documentation example

Brian Thorne report at bugs.python.org
Thu Oct 11 04:42:49 CEST 2012


New submission from Brian Thorne:

The Python docs for ctypes have embedded examples including:

>>> c_int()
c_long(0)

But on my machine I get the (more expected?):

>>> c_int()
c_int(0)

Perhaps if some machines expect otherwise that should be documented, otherwise might we change them.

----------
components: ctypes
files: ctypes_doc.diff
keywords: patch
messages: 172616
nosy: Thorney, eric.araujo, ezio.melotti, georg.brandl
priority: normal
severity: normal
status: open
title: ctypes - documentation example
type: behavior
versions: Python 3.4
Added file: http://bugs.python.org/file27523/ctypes_doc.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16192>
_______________________________________


More information about the New-bugs-announce mailing list