@@ -727,6 +727,10 @@ Extension modules can continue using them, as they will not be removed in Python
727
727
:c:type: `Py_UNICODE ` buffer of the given *size * by ASCII digits 0--9
728
728
according to their decimal value. Return ``NULL `` if an exception occurs.
729
729
730
+ .. deprecated-removed :: 3.3 3.11
731
+ Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
732
+ :c:func: `Py_UNICODE_TODECIMAL `.
733
+
730
734
731
735
.. c :function :: Py_UNICODE* PyUnicode_AsUnicodeAndSize (PyObject *unicode, Py_ssize_t *size)
732
736
@@ -1060,7 +1064,7 @@ These are the generic codec APIs:
1060
1064
to be used is looked up using the Python codec registry. Return ``NULL `` if an
1061
1065
exception was raised by the codec.
1062
1066
1063
- .. deprecated-removed :: 3.3 4.0
1067
+ .. deprecated-removed :: 3.3 3.11
1064
1068
Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
1065
1069
:c:func: `PyUnicode_AsEncodedString `.
1066
1070
@@ -1130,7 +1134,7 @@ These are the UTF-8 codec APIs:
1130
1134
return a Python bytes object. Return ``NULL `` if an exception was raised by
1131
1135
the codec.
1132
1136
1133
- .. deprecated-removed :: 3.3 4.0
1137
+ .. deprecated-removed :: 3.3 3.11
1134
1138
Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
1135
1139
:c:func: `PyUnicode_AsUTF8String `, :c:func: `PyUnicode_AsUTF8AndSize ` or
1136
1140
:c:func: `PyUnicode_AsEncodedString `.
@@ -1204,7 +1208,7 @@ These are the UTF-32 codec APIs:
1204
1208
1205
1209
Return ``NULL`` if an exception was raised by the codec.
1206
1210
1207
- .. deprecated-removed:: 3.3 4.0
1211
+ .. deprecated-removed:: 3.3 3.11
1208
1212
Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
1209
1213
:c:func:`PyUnicode_AsUTF32String` or :c:func:`PyUnicode_AsEncodedString`.
1210
1214
@@ -1279,7 +1283,7 @@ These are the UTF-16 codec APIs:
1279
1283
1280
1284
Return ``NULL`` if an exception was raised by the codec.
1281
1285
1282
- .. deprecated-removed:: 3.3 4.0
1286
+ .. deprecated-removed:: 3.3 3.11
1283
1287
Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
1284
1288
:c:func:`PyUnicode_AsUTF16String` or :c:func:`PyUnicode_AsEncodedString`.
1285
1289
@@ -1317,7 +1321,7 @@ These are the UTF-7 codec APIs:
1317
1321
nonzero, whitespace will be encoded in base-64. Both are set to zero for the
1318
1322
Python "utf-7" codec.
1319
1323
1320
- .. deprecated-removed:: 3.3 4.0
1324
+ .. deprecated-removed:: 3.3 3.11
1321
1325
Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
1322
1326
:c:func:`PyUnicode_AsEncodedString`.
1323
1327
@@ -1347,7 +1351,7 @@ These are the "Unicode Escape" codec APIs:
1347
1351
Encode the :c:type: `Py_UNICODE ` buffer of the given *size * using Unicode-Escape and
1348
1352
return a bytes object. Return ``NULL `` if an exception was raised by the codec.
1349
1353
1350
- .. deprecated-removed :: 3.3 4.0
1354
+ .. deprecated-removed :: 3.3 3.11
1351
1355
Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
1352
1356
:c:func: `PyUnicode_AsUnicodeEscapeString `.
1353
1357
@@ -1378,7 +1382,7 @@ These are the "Raw Unicode Escape" codec APIs:
1378
1382
Encode the :c:type: `Py_UNICODE ` buffer of the given *size * using Raw-Unicode-Escape
1379
1383
and return a bytes object. Return ``NULL `` if an exception was raised by the codec.
1380
1384
1381
- .. deprecated-removed :: 3.3 4.0
1385
+ .. deprecated-removed :: 3.3 3.11
1382
1386
Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
1383
1387
:c:func: `PyUnicode_AsRawUnicodeEscapeString ` or
1384
1388
:c:func: `PyUnicode_AsEncodedString `.
@@ -1410,7 +1414,7 @@ ordinals and only these are accepted by the codecs during encoding.
1410
1414
return a Python bytes object. Return ``NULL `` if an exception was raised by
1411
1415
the codec.
1412
1416
1413
- .. deprecated-removed :: 3.3 4.0
1417
+ .. deprecated-removed :: 3.3 3.11
1414
1418
Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
1415
1419
:c:func: `PyUnicode_AsLatin1String ` or
1416
1420
:c:func: `PyUnicode_AsEncodedString `.
@@ -1442,7 +1446,7 @@ codes generate errors.
1442
1446
return a Python bytes object. Return ``NULL `` if an exception was raised by
1443
1447
the codec.
1444
1448
1445
- .. deprecated-removed :: 3.3 4.0
1449
+ .. deprecated-removed :: 3.3 3.11
1446
1450
Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
1447
1451
:c:func: `PyUnicode_AsASCIIString ` or
1448
1452
:c:func: `PyUnicode_AsEncodedString `.
@@ -1494,7 +1498,7 @@ These are the mapping codec APIs:
1494
1498
*mapping * object and return the result as a bytes object. Return ``NULL `` if
1495
1499
an exception was raised by the codec.
1496
1500
1497
- .. deprecated-removed :: 3.3 4.0
1501
+ .. deprecated-removed :: 3.3 3.11
1498
1502
Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
1499
1503
:c:func: `PyUnicode_AsCharmapString ` or
1500
1504
:c:func: `PyUnicode_AsEncodedString `.
@@ -1526,7 +1530,7 @@ The following codec API is special in that maps Unicode to Unicode.
1526
1530
character *mapping * table to it and return the resulting Unicode object.
1527
1531
Return ``NULL `` when an exception was raised by the codec.
1528
1532
1529
- .. deprecated-removed :: 3.3 4.0
1533
+ .. deprecated-removed :: 3.3 3.11
1530
1534
Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
1531
1535
:c:func: `PyUnicode_Translate `. or :ref: `generic codec based API
1532
1536
<codec-registry>`
0 commit comments