@@ -725,6 +725,10 @@ Extension modules can continue using them, as they will not be removed in Python
725
725
:c:type: `Py_UNICODE ` buffer of the given *size * by ASCII digits 0--9
726
726
according to their decimal value. Return ``NULL `` if an exception occurs.
727
727
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
+
728
732
729
733
.. c :function :: Py_UNICODE* PyUnicode_AsUnicodeAndSize (PyObject *unicode, Py_ssize_t *size)
730
734
@@ -1043,7 +1047,7 @@ These are the generic codec APIs:
1043
1047
to be used is looked up using the Python codec registry. Return ``NULL `` if an
1044
1048
exception was raised by the codec.
1045
1049
1046
- .. deprecated-removed :: 3.3 4.0
1050
+ .. deprecated-removed :: 3.3 3.11
1047
1051
Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
1048
1052
:c:func: `PyUnicode_AsEncodedString `.
1049
1053
@@ -1116,7 +1120,7 @@ These are the UTF-8 codec APIs:
1116
1120
return a Python bytes object. Return ``NULL `` if an exception was raised by
1117
1121
the codec.
1118
1122
1119
- .. deprecated-removed :: 3.3 4.0
1123
+ .. deprecated-removed :: 3.3 3.11
1120
1124
Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
1121
1125
:c:func: `PyUnicode_AsUTF8String `, :c:func: `PyUnicode_AsUTF8AndSize ` or
1122
1126
:c:func: `PyUnicode_AsEncodedString `.
@@ -1190,7 +1194,7 @@ These are the UTF-32 codec APIs:
1190
1194
1191
1195
Return ``NULL`` if an exception was raised by the codec.
1192
1196
1193
- .. deprecated-removed:: 3.3 4.0
1197
+ .. deprecated-removed:: 3.3 3.11
1194
1198
Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
1195
1199
:c:func:`PyUnicode_AsUTF32String` or :c:func:`PyUnicode_AsEncodedString`.
1196
1200
@@ -1265,7 +1269,7 @@ These are the UTF-16 codec APIs:
1265
1269
1266
1270
Return ``NULL`` if an exception was raised by the codec.
1267
1271
1268
- .. deprecated-removed:: 3.3 4.0
1272
+ .. deprecated-removed:: 3.3 3.11
1269
1273
Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
1270
1274
:c:func:`PyUnicode_AsUTF16String` or :c:func:`PyUnicode_AsEncodedString`.
1271
1275
@@ -1303,7 +1307,7 @@ These are the UTF-7 codec APIs:
1303
1307
nonzero, whitespace will be encoded in base-64. Both are set to zero for the
1304
1308
Python "utf-7" codec.
1305
1309
1306
- .. deprecated-removed:: 3.3 4.0
1310
+ .. deprecated-removed:: 3.3 3.11
1307
1311
Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
1308
1312
:c:func:`PyUnicode_AsEncodedString`.
1309
1313
@@ -1333,7 +1337,7 @@ These are the "Unicode Escape" codec APIs:
1333
1337
Encode the :c:type: `Py_UNICODE ` buffer of the given *size * using Unicode-Escape and
1334
1338
return a bytes object. Return ``NULL `` if an exception was raised by the codec.
1335
1339
1336
- .. deprecated-removed :: 3.3 4.0
1340
+ .. deprecated-removed :: 3.3 3.11
1337
1341
Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
1338
1342
:c:func: `PyUnicode_AsUnicodeEscapeString `.
1339
1343
@@ -1364,7 +1368,7 @@ These are the "Raw Unicode Escape" codec APIs:
1364
1368
Encode the :c:type: `Py_UNICODE ` buffer of the given *size * using Raw-Unicode-Escape
1365
1369
and return a bytes object. Return ``NULL `` if an exception was raised by the codec.
1366
1370
1367
- .. deprecated-removed :: 3.3 4.0
1371
+ .. deprecated-removed :: 3.3 3.11
1368
1372
Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
1369
1373
:c:func: `PyUnicode_AsRawUnicodeEscapeString ` or
1370
1374
:c:func: `PyUnicode_AsEncodedString `.
@@ -1396,7 +1400,7 @@ ordinals and only these are accepted by the codecs during encoding.
1396
1400
return a Python bytes object. Return ``NULL `` if an exception was raised by
1397
1401
the codec.
1398
1402
1399
- .. deprecated-removed :: 3.3 4.0
1403
+ .. deprecated-removed :: 3.3 3.11
1400
1404
Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
1401
1405
:c:func: `PyUnicode_AsLatin1String ` or
1402
1406
:c:func: `PyUnicode_AsEncodedString `.
@@ -1428,7 +1432,7 @@ codes generate errors.
1428
1432
return a Python bytes object. Return ``NULL `` if an exception was raised by
1429
1433
the codec.
1430
1434
1431
- .. deprecated-removed :: 3.3 4.0
1435
+ .. deprecated-removed :: 3.3 3.11
1432
1436
Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
1433
1437
:c:func: `PyUnicode_AsASCIIString ` or
1434
1438
:c:func: `PyUnicode_AsEncodedString `.
@@ -1480,7 +1484,7 @@ These are the mapping codec APIs:
1480
1484
*mapping * object and return the result as a bytes object. Return ``NULL `` if
1481
1485
an exception was raised by the codec.
1482
1486
1483
- .. deprecated-removed :: 3.3 4.0
1487
+ .. deprecated-removed :: 3.3 3.11
1484
1488
Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
1485
1489
:c:func: `PyUnicode_AsCharmapString ` or
1486
1490
:c:func: `PyUnicode_AsEncodedString `.
@@ -1512,7 +1516,7 @@ The following codec API is special in that maps Unicode to Unicode.
1512
1516
character *mapping * table to it and return the resulting Unicode object.
1513
1517
Return ``NULL `` when an exception was raised by the codec.
1514
1518
1515
- .. deprecated-removed :: 3.3 4.0
1519
+ .. deprecated-removed :: 3.3 3.11
1516
1520
Part of the old-style :c:type: `Py_UNICODE ` API; please migrate to using
1517
1521
:c:func: `PyUnicode_Translate `. or :ref: `generic codec based API
1518
1522
<codec-registry>`
0 commit comments