[Python-checkins] cpython: Add versionadded directive to new API function.
georg.brandl
python-checkins at python.org
Wed Sep 28 21:49:48 CEST 2011
http://hg.python.org/cpython/rev/1b16230f1611
changeset: 72490:1b16230f1611
user: Georg Brandl <georg at python.org>
date: Wed Sep 28 21:51:06 2011 +0200
summary:
Add versionadded directive to new API function.
files:
Doc/c-api/unicode.rst | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst
--- a/Doc/c-api/unicode.rst
+++ b/Doc/c-api/unicode.rst
@@ -1080,6 +1080,8 @@
first match; a value of ``-1`` indicates that no match was found, and ``-2``
indicates that an error occurred and an exception has been set.
+ .. versionadded:: 3.3
+
.. c:function:: Py_ssize_t PyUnicode_Count(PyObject *str, PyObject *substr, Py_ssize_t start, Py_ssize_t end)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list