File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -1352,6 +1352,13 @@ the user settings on the machine running the codec.
13521352 in *consumed *.
13531353
13541354
1355+ .. c :function :: PyObject* PyUnicode_DecodeCodePageStateful (int code_page, const char *str, \
1356+ Py_ssize_t size, const char *errors, Py_ssize_t *consumed)
1357+
1358+ Similar to :c:func: `PyUnicode_DecodeMBCSStateful `, except uses the code page
1359+ specified by *code_page *.
1360+
1361+
13551362.. c :function :: PyObject* PyUnicode_AsMBCSString (PyObject *unicode)
13561363
13571364 Encode a Unicode object using MBCS and return the result as Python bytes
Original file line number Diff line number Diff line change @@ -2622,6 +2622,13 @@ PyUnicode_DecodeMBCSStateful:Py_ssize_t:size::
26222622PyUnicode_DecodeMBCSStateful:const char*:errors::
26232623PyUnicode_DecodeMBCSStateful:Py_ssize_t*:consumed::
26242624
2625+ PyUnicode_DecodeCodePageStateful:PyObject*::+1:
2626+ PyUnicode_DecodeCodePageStateful:int:code_page::
2627+ PyUnicode_DecodeCodePageStateful:const char*:s::
2628+ PyUnicode_DecodeCodePageStateful:Py_ssize_t:size::
2629+ PyUnicode_DecodeCodePageStateful:const char*:errors::
2630+ PyUnicode_DecodeCodePageStateful:Py_ssize_t*:consumed::
2631+
26252632PyUnicode_EncodeCodePage:PyObject*::+1:
26262633PyUnicode_EncodeCodePage:int:code_page::
26272634PyUnicode_EncodeCodePage:PyObject*:unicode:0:
You can’t perform that action at this time.
0 commit comments