diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-06-14 05:21:04 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-06-14 05:21:04 (GMT) |
commit | d825143be1118ba7e320661b3a71d8822ae5d600 (patch) | |
tree | a74764df14558614917b7f4d9abd56c44ffd5623 /Doc/api | |
parent | 6ce9fe880be7416d88e6d800528db4079db6d6b1 (diff) | |
download | cpython-d825143be1118ba7e320661b3a71d8822ae5d600.zip cpython-d825143be1118ba7e320661b3a71d8822ae5d600.tar.gz cpython-d825143be1118ba7e320661b3a71d8822ae5d600.tar.bz2 |
Patch #1455898: Incremental mode for "mbcs" codec.
Diffstat (limited to 'Doc/api')
-rw-r--r-- | Doc/api/concrete.tex | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex index 10247ab..40b178f 100644 --- a/Doc/api/concrete.tex +++ b/Doc/api/concrete.tex @@ -1431,6 +1431,18 @@ machine running the codec. raised by the codec. \end{cfuncdesc} +\begin{cfuncdesc}{PyObject*}{PyUnicode_DecodeMBCSStateful}{const char *s, + int size, + const char *errors, + int *consumed} + If \var{consumed} is \NULL{}, behave like + \cfunction{PyUnicode_DecodeMBCS()}. If \var{consumed} is not \NULL{}, + \cfunction{PyUnicode_DecodeMBCSStateful()} will not decode trailing lead + byte and the number of bytes that have been decoded will be stored in + \var{consumed}. + \versionadded{2.5} +\end{cfuncdesc} + \begin{cfuncdesc}{PyObject*}{PyUnicode_EncodeMBCS}{const Py_UNICODE *s, Py_ssize_t size, const char *errors} |