diff options
author | Georg Brandl <georg@python.org> | 2011-09-28 19:51:06 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-09-28 19:51:06 (GMT) |
commit | ee12f4429c77da726eb665a811d832260ce640ed (patch) | |
tree | 2a07da5b62f2c83701b13782a2ab44a339454c36 /Doc/c-api | |
parent | 4cb0de246cacc2c4259f7b05529abbcf7ba8e2ff (diff) | |
download | cpython-ee12f4429c77da726eb665a811d832260ce640ed.zip cpython-ee12f4429c77da726eb665a811d832260ce640ed.tar.gz cpython-ee12f4429c77da726eb665a811d832260ce640ed.tar.bz2 |
Add versionadded directive to new API function.
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | 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 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) |