diff options
author | Walter Dörwald <walter@livinglogic.de> | 2007-06-11 16:44:48 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2007-06-11 16:44:48 (GMT) |
commit | 80bfb725af0809308264d526ac6a024fc8386643 (patch) | |
tree | 7e5f284b5856dcdfeb2882e9d08ab1739445afde /Doc/api | |
parent | c0aa45fca1944f1bc791c1309fde7dc86921196f (diff) | |
download | cpython-80bfb725af0809308264d526ac6a024fc8386643.zip cpython-80bfb725af0809308264d526ac6a024fc8386643.tar.gz cpython-80bfb725af0809308264d526ac6a024fc8386643.tar.bz2 |
Add versionadded notes to PyUnicode_FromString(),
PyUnicode_FromFormat() and PyUnicode_FromFormatV().
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} |