subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <...@daniel.shahaf.name>
Subject Re: svn commit: r959090 - in /subversion/trunk/subversion/tests/manual: ./ README permutations.py tree-conflicts-add-vs-add.py
Date Wed, 30 Jun 2010 06:53:19 GMT
neels@apache.org wrote on Tue, 29 Jun 2010 at 23:22 -0000:
> +  p = Permutations(('A', 'B'), (1, 2, 3), ('-',), (x, y))
> +  print "All items:"
> +  while p.next():
> +    print p.row

Does this duplicate the functionality of itertools.product()?

http://docs.python.org/library/itertools.html?highlight=cartesian

Mime
View raw message