No reason why we can't sample empty strings.

This commit is contained in:
Jeremy Fincher 2004-12-19 00:17:26 +00:00
parent f4d7da4f35
commit 5b622adec6
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ class Random(callbacks.Privmsg):
sample = self.rng.sample(items, n)
sample.sort()
irc.reply(utils.commaAndify(sample))
sample = wrap(sample, ['int', many('something')])
sample = wrap(sample, ['int', many('anything')])
def diceroll(self, irc, msg, args, n):
"""[<number of sides>]