diff options
author | Eric Smith <eric@trueblade.com> | 2009-04-26 10:05:11 (GMT) |
---|---|---|
committer | Eric Smith <eric@trueblade.com> | 2009-04-26 10:05:11 (GMT) |
commit | f254aab09891df400c305caa2ccd99ec448439a0 (patch) | |
tree | e09c2d71022cec1c5bd1d83337a2389093f834ad /Doc/c-api | |
parent | d40fb7026840227f9cf372b6d6442a9033f6e784 (diff) | |
download | cpython-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.rst | 3 |
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 |