@@ -3733,7 +3733,8 @@ PyUnicode_AsDecodedObject(PyObject *unicode,
37333733 }
37343734
37353735 if (PyErr_WarnEx (PyExc_DeprecationWarning ,
3736- "PyUnicode_AsDecodedObject() is deprecated; "
3736+ "PyUnicode_AsDecodedObject() is deprecated "
3737+ "and will be removed in 3.15; "
37373738 "use PyCodec_Decode() to decode from str" , 1 ) < 0 )
37383739 return NULL ;
37393740
@@ -3757,7 +3758,8 @@ PyUnicode_AsDecodedUnicode(PyObject *unicode,
37573758 }
37583759
37593760 if (PyErr_WarnEx (PyExc_DeprecationWarning ,
3760- "PyUnicode_AsDecodedUnicode() is deprecated; "
3761+ "PyUnicode_AsDecodedUnicode() is deprecated "
3762+ "and will be removed in 3.15; "
37613763 "use PyCodec_Decode() to decode from str to str" , 1 ) < 0 )
37623764 return NULL ;
37633765
@@ -3796,7 +3798,8 @@ PyUnicode_AsEncodedObject(PyObject *unicode,
37963798 }
37973799
37983800 if (PyErr_WarnEx (PyExc_DeprecationWarning ,
3799- "PyUnicode_AsEncodedObject() is deprecated; "
3801+ "PyUnicode_AsEncodedObject() is deprecated "
3802+ "and will be removed in 3.15; "
38003803 "use PyUnicode_AsEncodedString() to encode from str to bytes "
38013804 "or PyCodec_Encode() for generic encoding" , 1 ) < 0 )
38023805 return NULL ;
@@ -4019,7 +4022,8 @@ PyUnicode_AsEncodedUnicode(PyObject *unicode,
40194022 }
40204023
40214024 if (PyErr_WarnEx (PyExc_DeprecationWarning ,
4022- "PyUnicode_AsEncodedUnicode() is deprecated; "
4025+ "PyUnicode_AsEncodedUnicode() is deprecated "
4026+ "and will be removed in 3.15; "
40234027 "use PyCodec_Encode() to encode from str to str" , 1 ) < 0 )
40244028 return NULL ;
40254029
0 commit comments