


from typing import TYPE_CHECKING

from ...utils import _LazyModule


a			:			Union[str, Any]												=					{'''tokenization_bertweet''': ['''BertweetTokenizer''']}


if TYPE_CHECKING:
	from .tokenization_bertweet import BertweetTokenizer

else:
	import sys

	a			:			Dict												=					_LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)






def 		lowercase_	(  _UpperCamelCase	):


			'''simple docstring'''







			__lowercase			       = hex_num.strip()
			if not hex_num:
						raise ValueError('''No value was passed to the function'''	)

			__lowercase			       = hex_num[0] == '''-'''
			if is_negative:
						__lowercase			       = hex_num[1:]

			try:
						__lowercase			       = int(_UpperCamelCase							,      16	)
			except ValueError:
						raise ValueError('''Invalid value was passed to the function'''	)

			__lowercase			       = ''''''
			while int_num > 0:
						__lowercase			       = str(int_num % 2	) + bin_str
						int_num >>= 1

			return int(('''-''' + bin_str) if is_negative else bin_str	)


if __name__ == "__main__":
	import doctest

	doctest.testmod()


