@@ -341,49 +341,6 @@ PyAPI_FUNC(PyObject*) PyUnicode_Decode(
341341    const  char  * errors           /* error handling */ 
342342    );
343343
344- /* Decode a Unicode object unicode and return the result as Python 
345-    object. 
346- 
347-    This API is DEPRECATED and will be removed in 3.15. 
348-    The only supported standard encoding is rot13. 
349-    Use PyCodec_Decode() to decode with rot13 and non-standard codecs 
350-    that decode from str. */ 
351- 
352- Py_DEPRECATED (3.6 ) PyAPI_FUNC (PyObject * ) PyUnicode_AsDecodedObject (
353-     PyObject  * unicode ,          /* Unicode object */ 
354-     const  char  * encoding ,       /* encoding */ 
355-     const  char  * errors           /* error handling */ 
356-     );
357- 
358- /* Decode a Unicode object unicode and return the result as Unicode 
359-    object. 
360- 
361-    This API is DEPRECATED and will be removed in 3.15. 
362-    The only supported standard encoding is rot13. 
363-    Use PyCodec_Decode() to decode with rot13 and non-standard codecs 
364-    that decode from str to str. */ 
365- 
366- Py_DEPRECATED (3.6 ) PyAPI_FUNC (PyObject * ) PyUnicode_AsDecodedUnicode (
367-     PyObject  * unicode ,          /* Unicode object */ 
368-     const  char  * encoding ,       /* encoding */ 
369-     const  char  * errors           /* error handling */ 
370-     );
371- 
372- /* Encodes a Unicode object and returns the result as Python 
373-    object. 
374- 
375-    This API is DEPRECATED and will be removed in 3.15. 
376-    It is superseded by PyUnicode_AsEncodedString() 
377-    since all standard encodings (except rot13) encode str to bytes. 
378-    Use PyCodec_Encode() for encoding with rot13 and non-standard codecs 
379-    that encode form str to non-bytes. */ 
380- 
381- Py_DEPRECATED (3.6 ) PyAPI_FUNC (PyObject * ) PyUnicode_AsEncodedObject (
382-     PyObject  * unicode ,          /* Unicode object */ 
383-     const  char  * encoding ,       /* encoding */ 
384-     const  char  * errors           /* error handling */ 
385-     );
386- 
387344/* Encodes a Unicode object and returns the result as Python string 
388345   object. */ 
389346
@@ -393,20 +350,6 @@ PyAPI_FUNC(PyObject*) PyUnicode_AsEncodedString(
393350    const  char  * errors           /* error handling */ 
394351    );
395352
396- /* Encodes a Unicode object and returns the result as Unicode 
397-    object. 
398- 
399-    This API is DEPRECATED and will be removed in 3.15. 
400-    The only supported standard encodings is rot13. 
401-    Use PyCodec_Encode() to encode with rot13 and non-standard codecs 
402-    that encode from str to str. */ 
403- 
404- Py_DEPRECATED (3.6 ) PyAPI_FUNC (PyObject * ) PyUnicode_AsEncodedUnicode (
405-     PyObject  * unicode ,          /* Unicode object */ 
406-     const  char  * encoding ,       /* encoding */ 
407-     const  char  * errors           /* error handling */ 
408-     );
409- 
410353/* Build an encoding map. */ 
411354
412355PyAPI_FUNC (PyObject * ) PyUnicode_BuildEncodingMap (
0 commit comments