summaryrefslogtreecommitdiffstats
path: root/Modules/unicodedata.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-11-25 09:13:37 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-11-25 09:13:37 (GMT)
commitb5c980b8028af0876e40f71c94b82cd02e327bf0 (patch)
treea72f03661f7aab2ef706447951cec27da4fd0f49 /Modules/unicodedata.c
parent05ced6aa761bab7348e95a479b6f791e636ceae7 (diff)
downloadcpython-b5c980b8028af0876e40f71c94b82cd02e327bf0.zip
cpython-b5c980b8028af0876e40f71c94b82cd02e327bf0.tar.gz
cpython-b5c980b8028af0876e40f71c94b82cd02e327bf0.tar.bz2
Add unidata_version. Bump generator version number.
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)