[issue5139] Add combinatoric counting functions to the math module.

Raymond Hettinger report at bugs.python.org
Tue Feb 3 10:49:33 CET 2009


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

I had a thought to name them perms(n,r), combs(n,r) and
combs_with_replacement(n,r).  The abbreviated names read nicely and
avoid a namespace collision with the itertools module (making the world
safe for "from math import *").

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5139>
_______________________________________


More information about the Python-bugs-list mailing list