[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r959090 - in /subversion/trunk/subversion/tests/manual: ./ README permutations.py tree-conflicts-add-vs-add.py

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 30 Jun 2010 09:53:19 +0300 (Jerusalem Daylight Time)

neels_at_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
Received on 2010-06-30 08:52:58 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.