@@ -722,6 +722,10 @@ Extension modules can continue using them, as they will not be removed in Python
722
722
:c:type: `Py_UNICODE ` buffer of the given *size * by ASCII digits 0--9
723
723
according to their decimal value. Return ``NULL `` if an exception occurs.
724
724
725
+ .. deprecated-removed :: 3.3 3.11
726
+ Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
727
+ :c:func: `Py_UNICODE_TODECIMAL `.
728
+
725
729
726
730
.. c :function :: Py_UNICODE* PyUnicode_AsUnicodeAndSize (PyObject *unicode, Py_ssize_t *size)
727
731
@@ -1055,7 +1059,7 @@ These are the generic codec APIs:
1055
1059
to be used is looked up using the Python codec registry. Return ``NULL `` if an
1056
1060
exception was raised by the codec.
1057
1061
1058
- .. deprecated-removed :: 3.3 4.0
1062
+ .. deprecated-removed :: 3.3 3.11
1059
1063
Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
1060
1064
:c:func: `PyUnicode_AsEncodedString `.
1061
1065
@@ -1125,7 +1129,7 @@ These are the UTF-8 codec APIs:
1125
1129
return a Python bytes object. Return ``NULL `` if an exception was raised by
1126
1130
the codec.
1127
1131
1128
- .. deprecated-removed :: 3.3 4.0
1132
+ .. deprecated-removed :: 3.3 3.11
1129
1133
Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
1130
1134
:c:func: `PyUnicode_AsUTF8String `, :c:func: `PyUnicode_AsUTF8AndSize ` or
1131
1135
:c:func: `PyUnicode_AsEncodedString `.
@@ -1199,7 +1203,7 @@ These are the UTF-32 codec APIs:
1199
1203
1200
1204
Return ``NULL`` if an exception was raised by the codec.
1201
1205
1202
- .. deprecated-removed:: 3.3 4.0
1206
+ .. deprecated-removed:: 3.3 3.11
1203
1207
Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
1204
1208
:c:func:`PyUnicode_AsUTF32String` or :c:func:`PyUnicode_AsEncodedString`.
1205
1209
@@ -1274,7 +1278,7 @@ These are the UTF-16 codec APIs:
1274
1278
1275
1279
Return ``NULL`` if an exception was raised by the codec.
1276
1280
1277
- .. deprecated-removed:: 3.3 4.0
1281
+ .. deprecated-removed:: 3.3 3.11
1278
1282
Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
1279
1283
:c:func:`PyUnicode_AsUTF16String` or :c:func:`PyUnicode_AsEncodedString`.
1280
1284
@@ -1312,7 +1316,7 @@ These are the UTF-7 codec APIs:
1312
1316
nonzero, whitespace will be encoded in base-64. Both are set to zero for the
1313
1317
Python "utf-7" codec.
1314
1318
1315
- .. deprecated-removed:: 3.3 4.0
1319
+ .. deprecated-removed:: 3.3 3.11
1316
1320
Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
1317
1321
:c:func:`PyUnicode_AsEncodedString`.
1318
1322
@@ -1342,7 +1346,7 @@ These are the "Unicode Escape" codec APIs:
1342
1346
Encode the :c:type: `Py_UNICODE ` buffer of the given *size * using Unicode-Escape and
1343
1347
return a bytes object. Return ``NULL `` if an exception was raised by the codec.
1344
1348
1345
- .. deprecated-removed :: 3.3 4.0
1349
+ .. deprecated-removed :: 3.3 3.11
1346
1350
Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
1347
1351
:c:func: `PyUnicode_AsUnicodeEscapeString `.
1348
1352
@@ -1373,7 +1377,7 @@ These are the "Raw Unicode Escape" codec APIs:
1373
1377
Encode the :c:type: `Py_UNICODE ` buffer of the given *size * using Raw-Unicode-Escape
1374
1378
and return a bytes object. Return ``NULL `` if an exception was raised by the codec.
1375
1379
1376
- .. deprecated-removed :: 3.3 4.0
1380
+ .. deprecated-removed :: 3.3 3.11
1377
1381
Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
1378
1382
:c:func: `PyUnicode_AsRawUnicodeEscapeString ` or
1379
1383
:c:func: `PyUnicode_AsEncodedString `.
@@ -1405,7 +1409,7 @@ ordinals and only these are accepted by the codecs during encoding.
1405
1409
return a Python bytes object. Return ``NULL `` if an exception was raised by
1406
1410
the codec.
1407
1411
1408
- .. deprecated-removed :: 3.3 4.0
1412
+ .. deprecated-removed :: 3.3 3.11
1409
1413
Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
1410
1414
:c:func: `PyUnicode_AsLatin1String ` or
1411
1415
:c:func: `PyUnicode_AsEncodedString `.
@@ -1437,7 +1441,7 @@ codes generate errors.
1437
1441
return a Python bytes object. Return ``NULL `` if an exception was raised by
1438
1442
the codec.
1439
1443
1440
- .. deprecated-removed :: 3.3 4.0
1444
+ .. deprecated-removed :: 3.3 3.11
1441
1445
Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
1442
1446
:c:func: `PyUnicode_AsASCIIString ` or
1443
1447
:c:func: `PyUnicode_AsEncodedString `.
@@ -1489,7 +1493,7 @@ These are the mapping codec APIs:
1489
1493
*mapping * object and return the result as a bytes object. Return ``NULL `` if
1490
1494
an exception was raised by the codec.
1491
1495
1492
- .. deprecated-removed :: 3.3 4.0
1496
+ .. deprecated-removed :: 3.3 3.11
1493
1497
Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
1494
1498
:c:func: `PyUnicode_AsCharmapString ` or
1495
1499
:c:func: `PyUnicode_AsEncodedString `.
@@ -1521,7 +1525,7 @@ The following codec API is special in that maps Unicode to Unicode.
1521
1525
character *mapping * table to it and return the resulting Unicode object.
1522
1526
Return ``NULL `` when an exception was raised by the codec.
1523
1527
1524
- .. deprecated-removed :: 3.3 4.0
1528
+ .. deprecated-removed :: 3.3 3.11
1525
1529
Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
1526
1530
:c:func: `PyUnicode_Translate `. or :ref: `generic codec based API
1527
1531
<codec-registry>`
0 commit comments