gh-106320: Remove private _PyUnicode codecs C API functions (#106385)

Remove private _PyUnicode codecs C API functions: move them to the
internal C API (pycore_unicodeobject.h). No longer export most of
these functions.
This commit is contained in:
Victor Stinner 2023-07-04 09:29:52 +02:00 committed by GitHub
parent 3406f8cce5
commit d8c5d76da2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 101 additions and 106 deletions

View file

@ -1,6 +1,7 @@
#include <stdbool.h>
#include <Python.h>
#include "pycore_unicodeobject.h" // _PyUnicode_DecodeUnicodeEscapeInternal()
#include "tokenizer.h"
#include "pegen.h"