summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorEric Smith <eric@trueblade.com>2009-04-26 10:05:11 (GMT)
committerEric Smith <eric@trueblade.com>2009-04-26 10:05:11 (GMT)
commitf254aab09891df400c305caa2ccd99ec448439a0 (patch)
treee09c2d71022cec1c5bd1d83337a2389093f834ad /Doc/c-api
parentd40fb7026840227f9cf372b6d6442a9033f6e784 (diff)
downloadcpython-f254aab09891df400c305caa2ccd99ec448439a0.zip
cpython-f254aab09891df400c305caa2ccd99ec448439a0.tar.gz
cpython-f254aab09891df400c305caa2ccd99ec448439a0.tar.bz2
Note that the caller is resposible for freeing the result of PyOS_double_to_string.
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/conversion.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/c-api/conversion.rst b/Doc/c-api/conversion.rst
index 51bc44b..4d1f42f 100644
--- a/Doc/c-api/conversion.rst
+++ b/Doc/c-api/conversion.rst
@@ -109,7 +109,8 @@ The following functions provide locale-independent string to number conversions.
*val* is a finite number, an infinite number, or not a number, respectively.
The return value is a pointer to *buffer* with the converted string or
- *NULL* if the conversion failed.
+ *NULL* if the conversion failed. The caller is responsible for freeing the
+ returned string by calling :cfunc:`PyMem_Free`.
.. versionadded:: 2.7