From 80bfb725af0809308264d526ac6a024fc8386643 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Walter=20D=C3=B6rwald?= Date: Mon, 11 Jun 2007 16:44:48 +0000 Subject: [PATCH] Add versionadded notes to PyUnicode_FromString(), PyUnicode_FromFormat() and PyUnicode_FromFormatV(). --- Doc/api/concrete.tex | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex index d60dcff2b52..6dc1ca497e4 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}