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 <rep...@bugs.python.org>
<http://bugs.python.org/issue16192>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to