diff options
-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 51bc44bc8e..4d1f42f068 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 |