Skip to content

Commit d827401

Browse files
Add isxidstart and isxidcontinue functions
1 parent 3f1cdc5 commit d827401

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

stdlib/unicodedata.pyi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ def digit(chr: str, /) -> int: ...
2626
@overload
2727
def digit(chr: str, default: _T, /) -> int | _T: ...
2828

29+
if sys.version_info >= (3, 15):
30+
def isxidstart(chr: str, /) -> bool: ...
31+
def isxidcontinue(chr: str, /) -> bool: ...
32+
2933
_EastAsianWidth: TypeAlias = Literal["F", "H", "W", "Na", "A", "N"]
3034

3135
def east_asian_width(chr: str, /) -> _EastAsianWidth: ...

0 commit comments

Comments
 (0)