mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-24 01:08:10 +02:00
Make the Unicode database version used available
This commit is contained in:
@@ -142,3 +142,8 @@ wcswidth_std(PyObject UNUSED *self, PyObject *str) {
|
||||
}
|
||||
return PyLong_FromSize_t(ans);
|
||||
}
|
||||
|
||||
PyObject*
|
||||
unicode_database_version(PyObject *self UNUSED, PyObject *args UNUSED) {
|
||||
return Py_BuildValue("iii", UNICODE_MAJOR_VERSION, UNICODE_MINOR_VERSION, UNICODE_PATCH_VERSION);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user