summaryrefslogtreecommitdiffstats
path: root/third_party/python/wcwidth/wcwidth/unicode_versions.py
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/python/wcwidth/wcwidth/unicode_versions.py')
-rw-r--r--third_party/python/wcwidth/wcwidth/unicode_versions.py35
1 files changed, 35 insertions, 0 deletions
diff --git a/third_party/python/wcwidth/wcwidth/unicode_versions.py b/third_party/python/wcwidth/wcwidth/unicode_versions.py
new file mode 100644
index 0000000000..9bf51eabb0
--- /dev/null
+++ b/third_party/python/wcwidth/wcwidth/unicode_versions.py
@@ -0,0 +1,35 @@
+"""
+Exports function list_versions() for unicode version level support.
+
+This code generated by bin/update-tables.py on 2020-06-23 16:03:21.350604.
+"""
+
+
+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",
+ )