Skip to content

Commit dce0db9

Browse files
committed
language='alias' in docstrings
1 parent 06645a8 commit dce0db9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: emoji/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
emoji terminal output for Python.
99
1010
>>> import emoji
11-
>>> print(emoji.emojize('Python is :thumbsup:', use_aliases=True))
11+
>>> print(emoji.emojize('Python is :thumbsup:', language='alias'))
1212
Python is 👍
13-
>> print(emoji.emojize('Python is :thumbs_up:'))
13+
>>> print(emoji.emojize('Python is :thumbs_up:'))
1414
Python is 👍
1515
"""
1616

Diff for: emoji/core.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def emojize(
3939
):
4040
"""Replace emoji names in a string with unicode codes.
4141
>>> import emoji
42-
>>> print(emoji.emojize("Python is fun :thumbsup:", use_aliases=True))
42+
>>> print(emoji.emojize("Python is fun :thumbsup:", language='alias'))
4343
Python is fun 👍
4444
>>> print(emoji.emojize("Python is fun :thumbs_up:"))
4545
Python is fun 👍

0 commit comments

Comments
 (0)