Commit Graph

58 Commits

Author SHA1 Message Date
Raymond Hettinger f0f475da61 Add examples. 2009-04-10 13:16:50 +00:00
Raymond Hettinger f368fbc24e Clarify the table entries for combinatorics. 2009-04-10 04:25:45 +00:00
Andrew M. Kuchling efa97718e6 typo fix 2009-03-30 23:08:24 +00:00
Raymond Hettinger efa7c138b6 Issue 5477: Fix buglet in the itertools documentation. 2009-03-12 00:31:58 +00:00
Raymond Hettinger 8f19598f78 Fix typo. 2009-03-10 13:04:30 +00:00
Raymond Hettinger 3496a89f27 Add consume() recipe to itertools docs. 2009-03-09 11:57:29 +00:00
Raymond Hettinger fed84c765d Issue 5443: Fix typo. 2009-03-09 11:31:39 +00:00
Raymond Hettinger d47442e3cb Update itertools recipes to use next(). 2009-02-23 19:32:55 +00:00
Raymond Hettinger f9bce83e71 Add some cross-references to the docs. Simplify the python code equivalent for izip(). Supply an optional argument for the nth() recipe. 2009-02-19 05:34:35 +00:00
Raymond Hettinger c8223b09b0 Generalize the itertools.tee() recipe. 2009-02-18 20:54:53 +00:00
Raymond Hettinger 0aee942a08 Fixup intro paragraphs for the itertools docs. Add some tables for quick reference. 2009-02-17 11:00:27 +00:00
Raymond Hettinger a4038038c6 Add keyword argument support to itertools.count(). 2009-02-14 00:25:51 +00:00
Raymond Hettinger 31c769ca89 Issue 5032: added a step argument to itertools.count() and allowed non-integer arguments. 2009-02-12 05:39:46 +00:00
Raymond Hettinger d507afdc81 Minor doc fixups. 2009-02-04 10:52:32 +00:00
Benjamin Peterson 4829136965 fix indentation 2009-01-31 20:01:48 +00:00
Raymond Hettinger d081abc8be Promote combinations_with_replacement() from a recipe to a regular itertool. 2009-01-27 02:58:49 +00:00
Raymond Hettinger 68d919e4d6 Improved itertools recipe for generating powerset(). 2009-01-25 21:31:47 +00:00
Raymond Hettinger 2bcb8e9b0d Promote compress() from a recipe to being a regular itertool. 2009-01-25 21:04:14 +00:00
Raymond Hettinger 5b913e31a1 Forward port r68394 for issue 4816. 2009-01-08 06:39:04 +00:00
Georg Brandl c62ef8b4d9 Remove trailing whitespace. 2009-01-03 20:55:06 +00:00
Raymond Hettinger 44e1581df3 Issue #4615. Document how to use itertools for de-duping. 2009-01-02 21:26:45 +00:00
Benjamin Peterson 8ea999930c fix highlighting 2009-01-01 16:43:12 +00:00
Raymond Hettinger f080e6d7e0 Alter recipe to show how to call izip_longest() with
both a keyword argument and star arguments.
2008-07-31 01:19:50 +00:00
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