[docs] [issue13118] Py_BuildValue format f incorrect description.

Félix-Antoine Fortin report at bugs.python.org
Thu Oct 6 20:35:25 CEST 2011


New submission from Félix-Antoine Fortin <felixantoinefortin+python at gmail.com>:

Python/C API Reference Manual, section Utilities, Parsing arguments and building values, function Py_BuildValue.

The description for the format unit "f" is incorrect. It reads "Same as d.", as it should be "Convert a C float to a Python floating point number." since "f" is not the same as "d" when converting double to Python float. 

This was corrected in the documentation of Python 3, from which the proposed description comes.

----------
assignee: docs at python
components: Documentation
messages: 145031
nosy: docs at python, felixantoinefortin
priority: normal
severity: normal
status: open
title: Py_BuildValue format f incorrect description.
versions: Python 2.6, Python 2.7

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


More information about the docs mailing list