mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 19:52:54 +01:00
Help needed help.
This commit is contained in:
parent
d546f41fc8
commit
14ae0595ba
@ -287,7 +287,7 @@ class Fun(callbacks.Privmsg):
|
||||
"""<string1> <string2>
|
||||
|
||||
Returns the levenshtein distance (also known as the "edit distance"
|
||||
between <string1> and <string2>
|
||||
between <string1> and <string2>)
|
||||
"""
|
||||
(s1, s2) = privmsgs.getArgs(args, required=2)
|
||||
irc.reply(str(utils.distance(s1, s2)))
|
||||
|
Loading…
Reference in New Issue
Block a user