mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
unicodedata: add UCD.is_normalized (#7915)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
@@ -91,7 +91,6 @@ multiprocessing.managers.SharedMemoryServer.release_segment
|
||||
multiprocessing.managers.SharedMemoryServer.shutdown
|
||||
multiprocessing.managers.SharedMemoryServer.track_segment
|
||||
typing._SpecialForm.__call__
|
||||
unicodedata.UCD.is_normalized
|
||||
|
||||
# ==========
|
||||
# Related to positional-only arguments
|
||||
|
||||
@@ -87,7 +87,6 @@ typing.NewType.__mro_entries__
|
||||
typing.ParamSpec.__typing_subst__
|
||||
typing.TypeVar.__typing_subst__
|
||||
typing.TypeVarTuple.__typing_subst__
|
||||
unicodedata.UCD.is_normalized
|
||||
unittest.TestCase._addSkip
|
||||
unittest.case.TestCase._addSkip
|
||||
unittest.doModuleCleanups
|
||||
|
||||
@@ -147,7 +147,6 @@ tkinter.filedialog.wantobjects
|
||||
tkinter.simpledialog.wantobjects
|
||||
tkinter.tix.wantobjects
|
||||
typing._SpecialForm.__call__
|
||||
unicodedata.UCD.is_normalized
|
||||
|
||||
# ==========
|
||||
# Allowlist entries that cannot or should not be fixed
|
||||
|
||||
@@ -132,7 +132,6 @@ stringprep.unicodedata # re-exported from unicodedata
|
||||
types.GenericAlias.__mro_entries__
|
||||
typing._SpecialForm.__call__
|
||||
typing._SpecialForm.__mro_entries__
|
||||
unicodedata.UCD.is_normalized
|
||||
|
||||
# SpooledTemporaryFile implements IO except these methods before Python 3.11
|
||||
# See also https://github.com/python/typeshed/pull/2452#issuecomment-420657918
|
||||
|
||||
Reference in New Issue
Block a user