Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 33.9k
gh-129117: Expose _PyUnicode_IsXidContinue/Start in unicodedata#140269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
c0511cc83bb3a9571c6229043865cf197afb24b994b9ae70ddc0752fc958c2a33fe65f14c95366fe1ab85ccc2cd4900fb7d6133f250300f4File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| #ifndef Py_INTERNAL_UNICODECTYPE_H | ||
| #define Py_INTERNAL_UNICODECTYPE_H | ||
| #ifdef __cplusplus | ||
| extern "C"{ | ||
| #endif | ||
| #ifndef Py_BUILD_CORE | ||
| # error "this header requires Py_BUILD_CORE define" | ||
| #endif | ||
| extern int _PyUnicode_ToLowerFull(Py_UCS4 ch, Py_UCS4 *res); | ||
| extern int _PyUnicode_ToTitleFull(Py_UCS4 ch, Py_UCS4 *res); | ||
| extern int _PyUnicode_ToUpperFull(Py_UCS4 ch, Py_UCS4 *res); | ||
| extern int _PyUnicode_ToFoldedFull(Py_UCS4 ch, Py_UCS4 *res); | ||
| extern int _PyUnicode_IsCaseIgnorable(Py_UCS4 ch); | ||
| extern int _PyUnicode_IsCased(Py_UCS4 ch); | ||
| // Export for 'unicodedata' shared extension. | ||
| PyAPI_FUNC(int) _PyUnicode_IsXidStart(Py_UCS4 ch); | ||
| PyAPI_FUNC(int) _PyUnicode_IsXidContinue(Py_UCS4 ch); | ||
| #ifdef __cplusplus | ||
| } | ||
| #endif | ||
| #endif /* !Py_INTERNAL_UNICODECTYPE_H */ | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| :mod:`unicodedata`: Add :func:`~unicodedata.isxidstart` and | ||
| :func:`~unicodedata.isxidcontinue` functions to check whether a character can | ||
| start or continue a `Unicode Standard Annex #31 <https://www.unicode.org/reports/tr31/>`_ identifier. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.