Mark Dickinson <dicki...@gmail.com> added the comment: I've seen requests for combinations with replacement come up on c.l.p. a few times in the past, though it's never been clear whether there was a real need or whether the interest was driven by homework or curiosity.
-1 for sequences in the second argument of combinations(); it doesn't feel like a useful enough generalization to be worth adding code for. ---------- nosy: +marketdickinson _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5048> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com