diff options
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/api/api.tex | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/api/api.tex b/Doc/api/api.tex index 58188b5..0d7f6f2 100644 --- a/Doc/api/api.tex +++ b/Doc/api/api.tex @@ -2457,7 +2457,9 @@ use these APIs: Create a Unicode Object from the Py_UNICODE buffer \var{u} of the given size. \var{u} may be \NULL{} which causes the contents to be undefined. It is the user's responsibility to fill in the needed data. -The buffer is copied into the new object. +The buffer is copied into the new object. If the buffer is not \NULL{}, +the return value might be a shared object. Therefore, modification of +the resulting Unicode Object is only allowed when \var{u} is \NULL{}. \end{cfuncdesc} \begin{cfuncdesc}{Py_UNICODE*}{PyUnicode_AsUnicode}{PyObject *unicode} |