Note that the caller is resposible for freeing the result of PyOS_double_to_string.
This commit is contained in:
parent
d40fb70268
commit
f254aab098
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue