From ee12f4429c77da726eb665a811d832260ce640ed Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 28 Sep 2011 21:51:06 +0200 Subject: Add versionadded directive to new API function. --- Doc/c-api/unicode.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst index b6306b1..b5fc60a 100644 --- a/Doc/c-api/unicode.rst +++ b/Doc/c-api/unicode.rst @@ -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) -- cgit v0.12