summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/unicode.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-08-13 15:10:49 (GMT)
committerGeorg Brandl <georg@python.org>2010-08-13 15:10:49 (GMT)
commit4d2240915f31c81e7696fe9a8784c581ef00c000 (patch)
treea12ad89a4da837f58e62be9751a28cd543590a26 /Doc/c-api/unicode.rst
parent4a2b7a1b141fcbed6da81d942c9db776874c2fa9 (diff)
downloadcpython-4d2240915f31c81e7696fe9a8784c581ef00c000.zip
cpython-4d2240915f31c81e7696fe9a8784c581ef00c000.tar.gz
cpython-4d2240915f31c81e7696fe9a8784c581ef00c000.tar.bz2
Fix copy-paste error.
Diffstat (limited to 'Doc/c-api/unicode.rst')
-rw-r--r--Doc/c-api/unicode.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst
index 00d16b1..fa460a8 100644
--- a/Doc/c-api/unicode.rst
+++ b/Doc/c-api/unicode.rst
@@ -682,7 +682,7 @@ These are the UTF-7 codec APIs:
*s*. Return *NULL* if an exception was raised by the codec.
-.. cfunction:: PyObject* PyUnicode_DecodeUTF8Stateful(const char *s, Py_ssize_t size, const char *errors, Py_ssize_t *consumed)
+.. cfunction:: PyObject* PyUnicode_DecodeUTF7Stateful(const char *s, Py_ssize_t size, const char *errors, Py_ssize_t *consumed)
If *consumed* is *NULL*, behave like :cfunc:`PyUnicode_DecodeUTF7`. If
*consumed* is not *NULL*, trailing incomplete UTF-7 base-64 sections will not