@@ -344,7 +344,8 @@ PyAPI_FUNC(PyObject*) PyUnicode_Decode(
344344/* Decode a Unicode object unicode and return the result as Python
345345 object.
346346
347- This API is DEPRECATED. The only supported standard encoding is rot13.
347+ This API is DEPRECATED and will be removed in 3.15.
348+ The only supported standard encoding is rot13.
348349 Use PyCodec_Decode() to decode with rot13 and non-standard codecs
349350 that decode from str. */
350351
@@ -357,7 +358,8 @@ Py_DEPRECATED(3.6) PyAPI_FUNC(PyObject*) PyUnicode_AsDecodedObject(
357358/* Decode a Unicode object unicode and return the result as Unicode
358359 object.
359360
360- This API is DEPRECATED. The only supported standard encoding is rot13.
361+ This API is DEPRECATED and will be removed in 3.15.
362+ The only supported standard encoding is rot13.
361363 Use PyCodec_Decode() to decode with rot13 and non-standard codecs
362364 that decode from str to str. */
363365
@@ -370,7 +372,8 @@ Py_DEPRECATED(3.6) PyAPI_FUNC(PyObject*) PyUnicode_AsDecodedUnicode(
370372/* Encodes a Unicode object and returns the result as Python
371373 object.
372374
373- This API is DEPRECATED. It is superseded by PyUnicode_AsEncodedString()
375+ This API is DEPRECATED and will be removed in 3.15.
376+ It is superseded by PyUnicode_AsEncodedString()
374377 since all standard encodings (except rot13) encode str to bytes.
375378 Use PyCodec_Encode() for encoding with rot13 and non-standard codecs
376379 that encode form str to non-bytes. */
@@ -393,7 +396,8 @@ PyAPI_FUNC(PyObject*) PyUnicode_AsEncodedString(
393396/* Encodes a Unicode object and returns the result as Unicode
394397 object.
395398
396- This API is DEPRECATED. The only supported standard encodings is rot13.
399+ This API is DEPRECATED and will be removed in 3.15.
400+ The only supported standard encodings is rot13.
397401 Use PyCodec_Encode() to encode with rot13 and non-standard codecs
398402 that encode from str to str. */
399403
0 commit comments