Commit graph

35 commits

Author SHA1 Message Date
Raymond Hettinger
efdf706a9f Neaten-up the itertools recipes. 2008-07-30 07:27:30 +00:00
Benjamin Peterson
5255cba4bc document default value for fillvalue 2008-07-25 17:02:11 +00:00
Georg Brandl
8c81fdad33 Use correct indentation. 2008-07-23 16:00:44 +00:00
Raymond Hettinger
f1f46f0350 Clean-up itertools docs and recipes. 2008-07-19 23:58:47 +00:00
Raymond Hettinger
39e0eb766f Fix compress() recipe in docs to use itertools. 2008-07-19 23:21:57 +00:00
Raymond Hettinger
3369167089 Add recipe to the itertools docs. 2008-07-19 00:43:00 +00:00
Andrew M. Kuchling
e2e031394c Typo fixes 2008-04-17 20:44:06 +00:00
Raymond Hettinger
5eaffc4ce1 Issue 2648: Add leading zero to money format recipe in the docs. 2008-04-17 10:48:31 +00:00
Raymond Hettinger
e70bb8d6f2 Simplify demo code. 2008-03-23 00:55:46 +00:00
Georg Brandl
e8f1b00372 Enable doctest running for several other documents.
We have now over 640 doctests that are run with "make doctest".
2008-03-22 22:04:10 +00:00
Raymond Hettinger
e8b4b60555 Add recipe to docs. 2008-03-11 00:19:07 +00:00
Raymond Hettinger
38fb9bee6c Tweak recipes and tests 2008-03-07 01:33:20 +00:00
Raymond Hettinger
040f10e9b3 Add examples. 2008-03-06 01:15:52 +00:00
Raymond Hettinger
d553d856e7 Beef-up docs and tests for itertools. Fix-up end-case for product(). 2008-03-04 04:17:08 +00:00
Andrew M. Kuchling
684868ac90 Fix sentence fragment 2008-03-04 01:47:38 +00:00
Raymond Hettinger
2b7a5c468b Tighten example code. 2008-03-02 11:17:51 +00:00
Raymond Hettinger
f287f17779 Finish-up docs for combinations() and permutations() in itertools. 2008-03-02 10:59:31 +00:00
Raymond Hettinger
330958e647 Document impending updates to itertools. 2008-02-28 19:41:24 +00:00
Raymond Hettinger
18750ab2a0 Add repeat keyword argument to itertools.product(). 2008-02-28 09:23:48 +00:00
Raymond Hettinger
c105289ec4 Simply the sample code for combinations(). 2008-02-27 01:44:34 +00:00
Raymond Hettinger
93e804da9c Add itertools.combinations(). 2008-02-26 23:40:50 +00:00
Georg Brandl
1b3e41c67e Banish tab. 2008-02-26 06:40:10 +00:00
Raymond Hettinger
3fa41d5a1c Docs for itertools.combinations(). Implementation in forthcoming checkin. 2008-02-26 02:46:54 +00:00
Raymond Hettinger
7832d4d534 Add recipe using itertools.product(). 2008-02-23 10:04:15 +00:00
Raymond Hettinger
c5705a823b Document itertools.product(). 2008-02-22 19:50:06 +00:00
Raymond Hettinger
a44327a9a2 Update itertool recipes 2008-01-30 22:17:31 +00:00
Raymond Hettinger
2dec48d1c5 Improve variable name in sample code 2008-01-22 22:09:26 +00:00
Raymond Hettinger
48c6293500 Document when to use izip_longest(). 2008-01-22 19:51:41 +00:00
Raymond Hettinger
473170908e Make starmap() match its pure python definition and accept any itertable input (not just tuples). 2008-01-17 03:02:14 +00:00
Raymond Hettinger
81a885af05 Improve docs for itertools.groupby(). The use of xrange(0) to create a unique object is less obvious than object(). 2007-12-29 22:16:24 +00:00
Raymond Hettinger
5d332bbdee Simpler documentation for itertools.tee(). Should be backported. 2007-12-29 22:09:34 +00:00
Georg Brandl
e7a0990113 Add :term:s for iterator. 2007-10-21 12:10:28 +00:00
Georg Brandl
cf3fb25932 Add :term: for generators. 2007-10-21 10:52:38 +00:00
Raymond Hettinger
50e90e265f itertools.count() no longer limited to sys.maxint. 2007-10-04 00:20:27 +00:00
Georg Brandl
8ec7f65613 Move the 2.6 reST doc tree in place. 2007-08-15 14:28:01 +00:00