summaryrefslogtreecommitdiffstats
path: root/Modules
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
parent05ced6aa761bab7348e95a479b6f791e636ceae7 (diff)
downloadcpython-b5c980b8028af0876e40f71c94b82cd02e327bf0.zip
cpython-b5c980b8028af0876e40f71c94b82cd02e327bf0.tar.gz
cpython-b5c980b8028af0876e40f71c94b82cd02e327bf0.tar.bz2
Add unidata_version. Bump generator version number.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/unicodedata.c2
-rw-r--r--Modules/unicodedata_db.h3
-rw-r--r--Modules/unicodename_db.h2
3 files changed, 5 insertions, 2 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)
diff --git a/Modules/unicodedata_db.h b/Modules/unicodedata_db.h
index 94f3809..0007a2b 100644
--- a/Modules/unicodedata_db.h
+++ b/Modules/unicodedata_db.h
@@ -1,5 +1,6 @@
-/* this file was generated by Tools/unicode/makeunicodedata.py 2.1 */
+/* this file was generated by Tools/unicode/makeunicodedata.py 2.2 */
+#define UNIDATA_VERSION "3.2.0"
/* a list of unique database records */
const _PyUnicode_DatabaseRecord _PyUnicode_Database_Records[] = {
{0, 0, 0, 0},
diff --git a/Modules/unicodename_db.h b/Modules/unicodename_db.h
index 55b4ef0..6ccf45f 100644
--- a/Modules/unicodename_db.h
+++ b/Modules/unicodename_db.h
@@ -1,4 +1,4 @@
-/* this file was generated by Tools/unicode/makeunicodedata.py 2.1 */
+/* this file was generated by Tools/unicode/makeunicodedata.py 2.2 */
#define NAME_MAXLEN 256