@@ -164,15 +164,18 @@ Deprecated C APIs
164164 Removed C APIs
165165--------------
166166
167- * :c:func: `!PyUnicode_AsDecodedObject `:
168- Use :c:func: `PyCodec_Decode ` instead.
169- * :c:func: `!PyUnicode_AsDecodedUnicode `:
170- Use :c:func: `PyCodec_Decode ` instead; Note that some codecs (for example, "base64")
171- may return a type other than :class: `str `, such as :class: `bytes `.
172- * :c:func: `!PyUnicode_AsEncodedObject `:
173- Use :c:func: `PyCodec_Encode ` instead.
174- * :c:func: `!PyUnicode_AsEncodedUnicode `:
175- Use :c:func: `PyCodec_Encode ` instead; Note that some codecs (for example, "base64")
176- may return a type other than :class: `bytes `, such as :class: `str `.
167+ *
168+ * :c:func: `!PyUnicode_AsDecodedObject `:
169+ Use :c:func: `PyCodec_Decode ` instead.
170+ * :c:func: `!PyUnicode_AsDecodedUnicode `:
171+ Use :c:func: `PyCodec_Decode ` instead; Note that some codecs (for example, "base64")
172+ may return a type other than :class: `str `, such as :class: `bytes `.
173+ * :c:func: `!PyUnicode_AsEncodedObject `:
174+ Use :c:func: `PyCodec_Encode ` instead.
175+ * :c:func: `!PyUnicode_AsEncodedUnicode `:
176+ Use :c:func: `PyCodec_Encode ` instead; Note that some codecs (for example, "base64")
177+ may return a type other than :class: `bytes `, such as :class: `str `.
178+ (Contributed by Stan Ulbrych in :gh: `133612 `)
179+
177180* :c:func: `!PyImport_ImportModuleNoBlock `: deprecated alias
178181 of :c:func: `PyImport_ImportModule `.
0 commit comments