Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/wcwidth/unicode_versions.py: 50%

2 statements  

« prev     ^ index     » next       coverage.py v7.4.4, created at 2024-04-20 06:09 +0000

1""" 

2Exports function list_versions() for unicode version level support. 

3 

4This code generated by wcwidth/bin/update-tables.py on 2023-09-14 15:45:33 UTC. 

5""" 

6 

7 

8def list_versions(): 

9 """ 

10 Return Unicode version levels supported by this module release. 

11 

12 Any of the version strings returned may be used as keyword argument 

13 ``unicode_version`` to the ``wcwidth()`` family of functions. 

14 

15 :returns: Supported Unicode version numbers in ascending sorted order. 

16 :rtype: list[str] 

17 """ 

18 return ( 

19 "4.1.0", 

20 "5.0.0", 

21 "5.1.0", 

22 "5.2.0", 

23 "6.0.0", 

24 "6.1.0", 

25 "6.2.0", 

26 "6.3.0", 

27 "7.0.0", 

28 "8.0.0", 

29 "9.0.0", 

30 "10.0.0", 

31 "11.0.0", 

32 "12.0.0", 

33 "12.1.0", 

34 "13.0.0", 

35 "14.0.0", 

36 "15.0.0", 

37 "15.1.0", 

38 )