Help needed help.

This commit is contained in:
Jeremy Fincher 2004-06-05 06:02:31 +00:00
parent d546f41fc8
commit 14ae0595ba

View File

@ -287,7 +287,7 @@ class Fun(callbacks.Privmsg):
"""<string1> <string2> """<string1> <string2>
Returns the levenshtein distance (also known as the "edit distance" 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) (s1, s2) = privmsgs.getArgs(args, required=2)
irc.reply(str(utils.distance(s1, s2))) irc.reply(str(utils.distance(s1, s2)))