Skip to content

Commit

Permalink
Update core.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaryanverma authored Sep 21, 2024
1 parent 1f3c5e8 commit e4cab88
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion emoji/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@

import re
import unicodedata
import sys
from typing import Any, Callable, Dict, Iterator, List, Optional, Tuple, Union
from typing_extensions import Literal, Match, TypedDict

if sys.version_info < (3, 9):
from typing_extensions import Literal, Match, TypedDict
else:
from typing import Literal, Match, TypedDict

from emoji import unicode_codes
from emoji.tokenizer import Token, EmojiMatch, EmojiMatchZWJ, EmojiMatchZWJNonRGI, tokenize, filter_tokens
Expand Down

0 comments on commit e4cab88

Please sign in to comment.