Skip to content

Commit ad48606

Browse files
authored
Add stub for emoji.is_emoji (#8053)
1 parent 95128e6 commit ad48606

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

stubs/emoji/emoji/__init__.pyi

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ from .core import (
77
emoji_list as emoji_list,
88
emojize as emojize,
99
get_emoji_regexp as get_emoji_regexp,
10+
is_emoji as is_emoji,
1011
replace_emoji as replace_emoji,
1112
version as version,
1213
)

stubs/emoji/emoji/core.pyi

+1
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,4 @@ def distinct_emoji_lis(string: str, language: str | type[_DeprecatedParameter] =
4545
def distinct_emoji_list(string: str) -> list[str]: ...
4646
def emoji_count(string: str, unique: bool = ...) -> int: ...
4747
def version(string: str) -> float: ...
48+
def is_emoji(string: str) -> bool: ...

0 commit comments

Comments
 (0)