]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106320: Remove private _PyUnicode C API (#107185)
authorVictor Stinner <vstinner@python.org>
Mon, 24 Jul 2023 18:26:29 +0000 (20:26 +0200)
committerGitHub <noreply@github.com>
Mon, 24 Jul 2023 18:26:29 +0000 (18:26 +0000)
commitd27eb1e406a8789d9eaba6dbfed5c2e5abe294fd
tree705e1162de112ac9bbb4fab6e76646541798a94a
parent032f4809094bf03d92c54e46b305c499ef7e3165
gh-106320: Remove private _PyUnicode C API (#107185)

Move private _PyUnicode functions to the internal C API
(pycore_unicodeobject.h):

* _PyUnicode_IsCaseIgnorable()
* _PyUnicode_IsCased()
* _PyUnicode_IsXidContinue()
* _PyUnicode_IsXidStart()
* _PyUnicode_ToFoldedFull()
* _PyUnicode_ToLowerFull()
* _PyUnicode_ToTitleFull()
* _PyUnicode_ToUpperFull()

No longer export these functions.
Include/cpython/unicodeobject.h
Include/internal/pycore_unicodeobject.h