]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add versionadded directive to new API function.
authorGeorg Brandl <georg@python.org>
Wed, 28 Sep 2011 19:51:06 +0000 (21:51 +0200)
committerGeorg Brandl <georg@python.org>
Wed, 28 Sep 2011 19:51:06 +0000 (21:51 +0200)
Doc/c-api/unicode.rst

index b6306b1c2dbafe6f1a41a045dc5a52f59cac5771..b5fc60a67943e140e6f8e133391bb663c44beacf 100644 (file)
@@ -1080,6 +1080,8 @@ They all return *NULL* or ``-1`` if an exception occurs.
    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)