summaryrefslogtreecommitdiffstats
path: root/lib/wcwidth/unicode_versions.py
diff options
context:
space:
mode:
authorxiubuzhe <xiubuzhe@sina.com>2023-10-10 21:45:57 +0800
committerxiubuzhe <xiubuzhe@sina.com>2023-10-10 21:45:57 +0800
commit71ed6d302d1dead149b6bd198cec29ede7718064 (patch)
tree8984ba28d679fb769fd1912ca5f585935fcc0c5c /lib/wcwidth/unicode_versions.py
parentc12c79537a53c10ff5a67a47e4f939e7d6a26805 (diff)
downloadsunhpc-71ed6d302d1dead149b6bd198cec29ede7718064.tar.gz
sunhpc-71ed6d302d1dead149b6bd198cec29ede7718064.tar.bz2
sunhpc-71ed6d302d1dead149b6bd198cec29ede7718064.zip
modify python-3.10 to python-3.12
Diffstat (limited to 'lib/wcwidth/unicode_versions.py')
-rw-r--r--lib/wcwidth/unicode_versions.py38
1 files changed, 38 insertions, 0 deletions
diff --git a/lib/wcwidth/unicode_versions.py b/lib/wcwidth/unicode_versions.py
new file mode 100644
index 0000000..4e9ccbf
--- /dev/null
+++ b/lib/wcwidth/unicode_versions.py
@@ -0,0 +1,38 @@
+"""
+Exports function list_versions() for unicode version level support.
+
+This code generated by wcwidth/bin/update-tables.py on 2023-09-14 15:45:33 UTC.
+"""
+
+
+def list_versions():
+ """
+ Return Unicode version levels supported by this module release.
+
+ Any of the version strings returned may be used as keyword argument
+ ``unicode_version`` to the ``wcwidth()`` family of functions.
+
+ :returns: Supported Unicode version numbers in ascending sorted order.
+ :rtype: list[str]
+ """
+ return (
+ "4.1.0",
+ "5.0.0",
+ "5.1.0",
+ "5.2.0",
+ "6.0.0",
+ "6.1.0",
+ "6.2.0",
+ "6.3.0",
+ "7.0.0",
+ "8.0.0",
+ "9.0.0",
+ "10.0.0",
+ "11.0.0",
+ "12.0.0",
+ "12.1.0",
+ "13.0.0",
+ "14.0.0",
+ "15.0.0",
+ "15.1.0",
+ )