File tree Expand file tree Collapse file tree 5 files changed +3
-4
lines changed
tests/stubtest_allowlists Expand file tree Collapse file tree 5 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,9 @@ class UCD:
38
38
def decomposition (self , __chr : str ) -> str : ...
39
39
def digit (self , __chr : str , __default : _T = ...) -> int | _T : ...
40
40
def east_asian_width (self , __chr : str ) -> str : ...
41
+ if sys .version_info >= (3 , 8 ):
42
+ def is_normalized (self , __form : str , __unistr : str ) -> bool : ...
43
+
41
44
def lookup (self , __name : str | bytes ) -> str : ...
42
45
def mirrored (self , __chr : str ) -> int : ...
43
46
def name (self , __chr : str , __default : _T = ...) -> str | _T : ...
Original file line number Diff line number Diff line change @@ -91,7 +91,6 @@ multiprocessing.managers.SharedMemoryServer.release_segment
91
91
multiprocessing.managers.SharedMemoryServer.shutdown
92
92
multiprocessing.managers.SharedMemoryServer.track_segment
93
93
typing._SpecialForm.__call__
94
- unicodedata.UCD.is_normalized
95
94
96
95
# ==========
97
96
# Related to positional-only arguments
Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ typing.NewType.__mro_entries__
87
87
typing.ParamSpec.__typing_subst__
88
88
typing.TypeVar.__typing_subst__
89
89
typing.TypeVarTuple.__typing_subst__
90
- unicodedata.UCD.is_normalized
91
90
unittest.TestCase._addSkip
92
91
unittest.case.TestCase._addSkip
93
92
unittest.doModuleCleanups
Original file line number Diff line number Diff line change @@ -147,7 +147,6 @@ tkinter.filedialog.wantobjects
147
147
tkinter.simpledialog.wantobjects
148
148
tkinter.tix.wantobjects
149
149
typing._SpecialForm.__call__
150
- unicodedata.UCD.is_normalized
151
150
152
151
# ==========
153
152
# Allowlist entries that cannot or should not be fixed
Original file line number Diff line number Diff line change @@ -132,7 +132,6 @@ stringprep.unicodedata # re-exported from unicodedata
132
132
types.GenericAlias.__mro_entries__
133
133
typing._SpecialForm.__call__
134
134
typing._SpecialForm.__mro_entries__
135
- unicodedata.UCD.is_normalized
136
135
137
136
# SpooledTemporaryFile implements IO except these methods before Python 3.11
138
137
# See also https://github.com/python/typeshed/pull/2452#issuecomment-420657918
You can’t perform that action at this time.
0 commit comments