unicodedata: add UCD.is_normalized (#7915)

This commit is contained in:
Jelle Zijlstra
2022-05-21 12:59:44 -07:00
committed by GitHub
parent a412ddb437
commit 1220a99399
5 changed files with 3 additions and 4 deletions

View File

@@ -38,6 +38,9 @@ class UCD:
def decomposition(self, __chr: str) -> str: ...
def digit(self, __chr: str, __default: _T = ...) -> int | _T: ...
def east_asian_width(self, __chr: str) -> str: ...
if sys.version_info >= (3, 8):
def is_normalized(self, __form: str, __unistr: str) -> bool: ...
def lookup(self, __name: str | bytes) -> str: ...
def mirrored(self, __chr: str) -> int: ...
def name(self, __chr: str, __default: _T = ...) -> str | _T: ...