File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 8
8
emoji terminal output for Python.
9
9
10
10
>>> import emoji
11
- >>> print(emoji.emojize('Python is :thumbsup:', use_aliases=True ))
11
+ >>> print(emoji.emojize('Python is :thumbsup:', language='alias' ))
12
12
Python is 👍
13
- >> print(emoji.emojize('Python is :thumbs_up:'))
13
+ >>> print(emoji.emojize('Python is :thumbs_up:'))
14
14
Python is 👍
15
15
"""
16
16
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ def emojize(
39
39
):
40
40
"""Replace emoji names in a string with unicode codes.
41
41
>>> import emoji
42
- >>> print(emoji.emojize("Python is fun :thumbsup:", use_aliases=True ))
42
+ >>> print(emoji.emojize("Python is fun :thumbsup:", language='alias' ))
43
43
Python is fun 👍
44
44
>>> print(emoji.emojize("Python is fun :thumbs_up:"))
45
45
Python is fun 👍
You can’t perform that action at this time.
0 commit comments