diff options
author | Victor Stinner <vstinner@python.org> | 2020-10-27 03:36:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-27 03:36:22 (GMT) |
commit | 84f7382215b9e024a5590454726b6ae4b0ca70a0 (patch) | |
tree | 57a7eeb30f36f079b8adb7bb58e5e7708eb05db1 /Include | |
parent | c9bc290dd6e3994a4ead2a224178bcba86f0c0e4 (diff) | |
download | cpython-84f7382215b9e024a5590454726b6ae4b0ca70a0.zip cpython-84f7382215b9e024a5590454726b6ae4b0ca70a0.tar.gz cpython-84f7382215b9e024a5590454726b6ae4b0ca70a0.tar.bz2 |
bpo-42157: Rename unicodedata.ucnhash_CAPI (GH-22994)
Removed the unicodedata.ucnhash_CAPI attribute which was an internal
PyCapsule object. The related private _PyUnicode_Name_CAPI structure
was moved to the internal C API.
Rename unicodedata.ucnhash_CAPI as unicodedata._ucnhash_CAPI.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/internal/pycore_ucnhash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/internal/pycore_ucnhash.h b/Include/internal/pycore_ucnhash.h index 5e7c035..187dd68 100644 --- a/Include/internal/pycore_ucnhash.h +++ b/Include/internal/pycore_ucnhash.h @@ -11,7 +11,7 @@ extern "C" { /* revised ucnhash CAPI interface (exported through a "wrapper") */ -#define PyUnicodeData_CAPSULE_NAME "unicodedata.ucnhash_CAPI" +#define PyUnicodeData_CAPSULE_NAME "unicodedata._ucnhash_CAPI" typedef struct { |