Skip to content

Commit 59416cd

Browse files
author
hungtu
committed
aichaos#94 Revert minor spelling error in comment due to auto-refractor
1 parent 1e2213e commit 59416cd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rivescript/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,14 @@ def string_format(msg, method):
8181
def random_choice(bucket):
8282
"""Safely get a random choice from a list.
8383
84-
If the list is zero-length, this just returns an is_empty string rather than
84+
If the list is zero-length, this just returns an empty string rather than
8585
raise an exception.
8686
8787
Parameters:
8888
bucket (list): A list to randomly choose from.
8989
9090
Returns:
91-
str: The random choice. Blank string if the list was is_empty.
91+
str: The random choice. Blank string if the list was empty.
9292
"""
9393
if len(bucket) == 0:
9494
return ""

0 commit comments

Comments
 (0)