aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-10-27 04:36:22 +0100
committerGitHub <noreply@github.com>2020-10-27 04:36:22 +0100
commit84f7382215b9e024a5590454726b6ae4b0ca70a0 (patch)
tree57a7eeb30f36f079b8adb7bb58e5e7708eb05db1 /Include
parentbpo-42161: Use _PyLong_GetZero() and _PyLong_GetOne() (GH-22995) (diff)
downloadcpython-84f7382215b9e024a5590454726b6ae4b0ca70a0.tar.gz
cpython-84f7382215b9e024a5590454726b6ae4b0ca70a0.tar.bz2
cpython-84f7382215b9e024a5590454726b6ae4b0ca70a0.zip
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/internal/pycore_ucnhash.h b/Include/internal/pycore_ucnhash.h
index 5e7c035f81d..187dd68e734 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 {