mirror of
https://github.com/Paillat-dev/dismoji.git
synced 2026-01-02 00:56:19 +00:00
✨ Add __all__ declaration to expose public API for emojize and demojize functions (#17)
This commit is contained in:
@@ -66,3 +66,11 @@ def demojize(s: str) -> str:
|
||||
return f":{REVERSE_EMOJI_MAPPING[emoji]}:"
|
||||
|
||||
return EMOJI_CHARS_PATTERN.sub(replace, s)
|
||||
|
||||
|
||||
__all__ = (
|
||||
"EMOJI_MAPPING",
|
||||
"REVERSE_EMOJI_MAPPING",
|
||||
"demojize",
|
||||
"emojize",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user