Note that the caller is resposible for freeing the result of PyOS_double_to_string.

This commit is contained in:
Eric Smith 2009-04-26 10:05:11 +00:00
parent d40fb70268
commit f254aab098
1 changed files with 2 additions and 1 deletions

View File

@ -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. *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 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 .. versionadded:: 2.7