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

4 statements  

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

1""" 

2Wcwidth module. 

3 

4https://github.com/jquast/wcwidth 

5""" 

6# re-export all functions & definitions, even private ones, from top-level 

7# module path, to allow for 'from wcwidth import _private_func'. Of course, 

8# user beware that any _private function may disappear or change signature at 

9# any future version. 

10 

11# local 

12from .wcwidth import ZERO_WIDTH # noqa 

13from .wcwidth import (WIDE_EASTASIAN, 

14 VS16_NARROW_TO_WIDE, 

15 wcwidth, 

16 wcswidth, 

17 _bisearch, 

18 list_versions, 

19 _wcmatch_version, 

20 _wcversion_value) 

21 

22# The __all__ attribute defines the items exported from statement, 

23# 'from wcwidth import *', but also to say, "This is the public API". 

24__all__ = ('wcwidth', 'wcswidth', 'list_versions') 

25 

26# We also used pkg_resources to load unicode version tables from version.json, 

27# generated by bin/update-tables.py, but some environments are unable to 

28# import pkg_resources for one reason or another, yikes! 

29__version__ = '0.2.13'