diff options
Diffstat (limited to 'Doc/api')
-rw-r--r-- | Doc/api/concrete.tex | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex index d60dcff..6dc1ca4 100644 --- a/Doc/api/concrete.tex +++ b/Doc/api/concrete.tex @@ -1004,6 +1004,7 @@ use these APIs: 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{}. + \versionadded{3.0} \end{cfuncdesc} \begin{cfuncdesc}{PyObject*}{PyUnicode_FromFormat}{const char *format, ...} @@ -1018,8 +1019,6 @@ use these APIs: % because not all compilers support the %z width modifier -- we fake it % when necessary via interpolating PY_FORMAT_SIZE_T. - % %u, %lu, %zu should have "new in Python 2.5" blurbs. - \begin{tableiii}{l|l|l}{member}{Format Characters}{Type}{Comment} \lineiii{\%\%}{\emph{n/a}}{The literal \% character.} \lineiii{\%c}{int}{A single character, represented as an C int.} @@ -1047,12 +1046,14 @@ use these APIs: An unrecognized format character causes all the rest of the format string to be copied as-is to the result string, and any extra arguments discarded. + \versionadded{3.0} \end{cfuncdesc} \begin{cfuncdesc}{PyObject*}{PyUnicode_FromFormatV}{const char *format, va_list vargs} Identical to \function{PyUnicode_FromFormat()} except that it takes exactly two arguments. + \versionadded{3.0} \end{cfuncdesc} \begin{cfuncdesc}{Py_UNICODE*}{PyUnicode_AsUnicode}{PyObject *unicode} |