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

4 statements  

« prev     ^ index     » next       coverage.py v7.2.2, created at 2023-03-26 06:07 +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 wcwidth, 

15 wcswidth, 

16 _bisearch, 

17 list_versions, 

18 _wcmatch_version, 

19 _wcversion_value) 

20 

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

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

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

24 

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

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

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

28__version__ = '0.2.6'