summaryrefslogtreecommitdiffstats
path: root/Modules/unicodedata.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/unicodedata.c')
-rw-r--r--Modules/unicodedata.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/unicodedata.c b/Modules/unicodedata.c
index c5ba6fc..71fdcb0 100644
--- a/Modules/unicodedata.c
+++ b/Modules/unicodedata.c
@@ -881,6 +881,8 @@ initunicodedata(void)
if (!m)
return;
+ PyModule_AddStringConstant(m, "unidata_version", UNIDATA_VERSION);
+
/* Export C API */
v = PyCObject_FromVoidPtr((void *) &hashAPI, NULL);
if (v != NULL)