2022-01-24 04:07:52 +00:00
|
|
|
"""
|
2024-03-03 17:15:23 +00:00
|
|
|
Wcwidth module.
|
2018-10-31 16:08:29 +00:00
|
|
|
|
2022-01-24 04:07:52 +00:00
|
|
|
https://github.com/jquast/wcwidth
|
|
|
|
"""
|
|
|
|
# re-export all functions & definitions, even private ones, from top-level
|
|
|
|
# module path, to allow for 'from wcwidth import _private_func'. Of course,
|
|
|
|
# user beware that any _private function may disappear or change signature at
|
|
|
|
# any future version.
|
|
|
|
|
|
|
|
# local
|
|
|
|
from .wcwidth import ZERO_WIDTH # noqa
|
|
|
|
from .wcwidth import (WIDE_EASTASIAN,
|
2024-03-03 17:15:23 +00:00
|
|
|
VS16_NARROW_TO_WIDE,
|
2022-01-24 04:07:52 +00:00
|
|
|
wcwidth,
|
|
|
|
wcswidth,
|
|
|
|
_bisearch,
|
|
|
|
list_versions,
|
|
|
|
_wcmatch_version,
|
|
|
|
_wcversion_value)
|
|
|
|
|
|
|
|
# The __all__ attribute defines the items exported from statement,
|
|
|
|
# 'from wcwidth import *', but also to say, "This is the public API".
|
|
|
|
__all__ = ('wcwidth', 'wcswidth', 'list_versions')
|
|
|
|
|
|
|
|
# We also used pkg_resources to load unicode version tables from version.json,
|
|
|
|
# generated by bin/update-tables.py, but some environments are unable to
|
|
|
|
# import pkg_resources for one reason or another, yikes!
|
2024-03-03 17:15:23 +00:00
|
|
|
__version__ = '0.2.13'
|