2 from typing import Any, TypeVar
10 def bidirectional(__chr: str) -> str: ...
11 def category(__chr: str) -> str: ...
12 def combining(__chr: str) -> int: ...
13 def decimal(__chr: str, __default: _T = ...) -> int | _T: ...
14 def decomposition(__chr: str) -> str: ...
15 def digit(__chr: str, __default: _T = ...) -> int | _T: ...
16 def east_asian_width(__chr: str) -> str: ...
18 if sys.version_info >= (3, 8):
19 def is_normalized(__form: str, __unistr: str) -> bool: ...
21 def lookup(__name: str | bytes) -> str: ...
22 def mirrored(__chr: str) -> int: ...
23 def name(__chr: str, __default: _T = ...) -> str | _T: ...
24 def normalize(__form: str, __unistr: str) -> str: ...
25 def numeric(__chr: str, __default: _T = ...) -> float | _T: ...
28 # The methods below are constructed from the same array in C
29 # (unicodedata_functions) and hence identical to the methods above.
31 def bidirectional(self, __chr: str) -> str: ...
32 def category(self, __chr: str) -> str: ...
33 def combining(self, __chr: str) -> int: ...
34 def decimal(self, __chr: str, __default: _T = ...) -> int | _T: ...
35 def decomposition(self, __chr: str) -> str: ...
36 def digit(self, __chr: str, __default: _T = ...) -> int | _T: ...
37 def east_asian_width(self, __chr: str) -> str: ...
38 def lookup(self, __name: str | bytes) -> str: ...
39 def mirrored(self, __chr: str) -> int: ...
40 def name(self, __chr: str, __default: _T = ...) -> str | _T: ...
41 def normalize(self, __form: str, __unistr: str) -> str: ...
42 def numeric(self, __chr: str, __default: _T = ...) -> float | _T: ...