@@ -725,6 +725,10 @@ Extension modules can continue using them, as they will not be removed in Python
725725 :c:type: `Py_UNICODE ` buffer of the given *size * by ASCII digits 0--9
726726 according to their decimal value. Return ``NULL `` if an exception occurs.
727727
728+ .. deprecated-removed :: 3.3 3.11
729+ Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
730+ :c:func: `Py_UNICODE_TODECIMAL `.
731+
728732
729733.. c :function :: Py_UNICODE* PyUnicode_AsUnicodeAndSize (PyObject *unicode, Py_ssize_t *size)
730734
@@ -1043,7 +1047,7 @@ These are the generic codec APIs:
10431047 to be used is looked up using the Python codec registry. Return ``NULL `` if an
10441048 exception was raised by the codec.
10451049
1046- .. deprecated-removed :: 3.3 4.0
1050+ .. deprecated-removed :: 3.3 3.11
10471051 Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
10481052 :c:func: `PyUnicode_AsEncodedString `.
10491053
@@ -1116,7 +1120,7 @@ These are the UTF-8 codec APIs:
11161120 return a Python bytes object. Return ``NULL `` if an exception was raised by
11171121 the codec.
11181122
1119- .. deprecated-removed :: 3.3 4.0
1123+ .. deprecated-removed :: 3.3 3.11
11201124 Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
11211125 :c:func: `PyUnicode_AsUTF8String `, :c:func: `PyUnicode_AsUTF8AndSize ` or
11221126 :c:func: `PyUnicode_AsEncodedString `.
@@ -1190,7 +1194,7 @@ These are the UTF-32 codec APIs:
11901194
11911195 Return ``NULL`` if an exception was raised by the codec.
11921196
1193- .. deprecated-removed:: 3.3 4.0
1197+ .. deprecated-removed:: 3.3 3.11
11941198 Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
11951199 :c:func:`PyUnicode_AsUTF32String` or :c:func:`PyUnicode_AsEncodedString`.
11961200
@@ -1265,7 +1269,7 @@ These are the UTF-16 codec APIs:
12651269
12661270 Return ``NULL`` if an exception was raised by the codec.
12671271
1268- .. deprecated-removed:: 3.3 4.0
1272+ .. deprecated-removed:: 3.3 3.11
12691273 Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
12701274 :c:func:`PyUnicode_AsUTF16String` or :c:func:`PyUnicode_AsEncodedString`.
12711275
@@ -1303,7 +1307,7 @@ These are the UTF-7 codec APIs:
13031307 nonzero, whitespace will be encoded in base-64. Both are set to zero for the
13041308 Python "utf-7" codec.
13051309
1306- .. deprecated-removed:: 3.3 4.0
1310+ .. deprecated-removed:: 3.3 3.11
13071311 Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
13081312 :c:func:`PyUnicode_AsEncodedString`.
13091313
@@ -1333,7 +1337,7 @@ These are the "Unicode Escape" codec APIs:
13331337 Encode the :c:type: `Py_UNICODE ` buffer of the given *size * using Unicode-Escape and
13341338 return a bytes object. Return ``NULL `` if an exception was raised by the codec.
13351339
1336- .. deprecated-removed :: 3.3 4.0
1340+ .. deprecated-removed :: 3.3 3.11
13371341 Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
13381342 :c:func: `PyUnicode_AsUnicodeEscapeString `.
13391343
@@ -1364,7 +1368,7 @@ These are the "Raw Unicode Escape" codec APIs:
13641368 Encode the :c:type: `Py_UNICODE ` buffer of the given *size * using Raw-Unicode-Escape
13651369 and return a bytes object. Return ``NULL `` if an exception was raised by the codec.
13661370
1367- .. deprecated-removed :: 3.3 4.0
1371+ .. deprecated-removed :: 3.3 3.11
13681372 Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
13691373 :c:func: `PyUnicode_AsRawUnicodeEscapeString ` or
13701374 :c:func: `PyUnicode_AsEncodedString `.
@@ -1396,7 +1400,7 @@ ordinals and only these are accepted by the codecs during encoding.
13961400 return a Python bytes object. Return ``NULL `` if an exception was raised by
13971401 the codec.
13981402
1399- .. deprecated-removed :: 3.3 4.0
1403+ .. deprecated-removed :: 3.3 3.11
14001404 Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
14011405 :c:func: `PyUnicode_AsLatin1String ` or
14021406 :c:func: `PyUnicode_AsEncodedString `.
@@ -1428,7 +1432,7 @@ codes generate errors.
14281432 return a Python bytes object. Return ``NULL `` if an exception was raised by
14291433 the codec.
14301434
1431- .. deprecated-removed :: 3.3 4.0
1435+ .. deprecated-removed :: 3.3 3.11
14321436 Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
14331437 :c:func: `PyUnicode_AsASCIIString ` or
14341438 :c:func: `PyUnicode_AsEncodedString `.
@@ -1480,7 +1484,7 @@ These are the mapping codec APIs:
14801484 *mapping * object and return the result as a bytes object. Return ``NULL `` if
14811485 an exception was raised by the codec.
14821486
1483- .. deprecated-removed :: 3.3 4.0
1487+ .. deprecated-removed :: 3.3 3.11
14841488 Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
14851489 :c:func: `PyUnicode_AsCharmapString ` or
14861490 :c:func: `PyUnicode_AsEncodedString `.
@@ -1512,7 +1516,7 @@ The following codec API is special in that maps Unicode to Unicode.
15121516 character *mapping * table to it and return the resulting Unicode object.
15131517 Return ``NULL `` when an exception was raised by the codec.
15141518
1515- .. deprecated-removed :: 3.3 4.0
1519+ .. deprecated-removed :: 3.3 3.11
15161520 Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
15171521 :c:func: `PyUnicode_Translate `. or :ref: `generic codec based API
15181522 <codec-registry>`
0 commit comments