[Python-3000-checkins] r55904 - python/branches/py3k-struni/Doc/api/concrete.tex

walter.doerwald python-3000-checkins at python.org
Mon Jun 11 18:44:51 CEST 2007


Author: walter.doerwald
Date: Mon Jun 11 18:44:48 2007
New Revision: 55904

Modified:
   python/branches/py3k-struni/Doc/api/concrete.tex
Log:
Add versionadded notes to PyUnicode_FromString(),
PyUnicode_FromFormat() and PyUnicode_FromFormatV().


Modified: python/branches/py3k-struni/Doc/api/concrete.tex
==============================================================================
--- python/branches/py3k-struni/Doc/api/concrete.tex	(original)
+++ python/branches/py3k-struni/Doc/api/concrete.tex	Mon Jun 11 18:44:48 2007
@@ -1004,6 +1004,7 @@
   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 @@
   % 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 @@
   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}


More information about the Python-3000-checkins mailing list