Commit Graph

70 Commits

Author SHA1 Message Date
Georg Brandl db235c1c94 Merged revisions 85008,85011,85240 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85008 | georg.brandl | 2010-09-25 15:30:03 +0200 (Sa, 25 Sep 2010) | 1 line

  #9944: fix typo.
........
  r85011 | georg.brandl | 2010-09-25 18:56:36 +0200 (Sa, 25 Sep 2010) | 1 line

  #9562: slight clarification.
........
  r85240 | georg.brandl | 2010-10-06 07:08:32 +0200 (Mi, 06 Okt 2010) | 1 line

  #10034: import readline in longer example.
........
2010-10-06 09:33:55 +00:00
Georg Brandl d070cc5350 Merged revisions 83226-83227,83229-83230,83232 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83226 | georg.brandl | 2010-07-29 16:17:12 +0200 (Do, 29 Jul 2010) | 1 line

  #1090076: explain the behavior of *vars* in get() better.
........
  r83227 | georg.brandl | 2010-07-29 16:23:06 +0200 (Do, 29 Jul 2010) | 1 line

  Use Py_CLEAR().
........
  r83229 | georg.brandl | 2010-07-29 16:32:22 +0200 (Do, 29 Jul 2010) | 1 line

  #9407: document configparser.Error.
........
  r83230 | georg.brandl | 2010-07-29 16:36:11 +0200 (Do, 29 Jul 2010) | 1 line

  Use correct directive and name.
........
  r83232 | georg.brandl | 2010-07-29 16:49:08 +0200 (Do, 29 Jul 2010) | 1 line

  #9388: remove ERA_YEAR which is never defined in the source code.
........
2010-08-01 21:06:46 +00:00
Raymond Hettinger a1d61d0495 Fixup new itertools recipes. 2010-04-10 07:01:32 +00:00
Raymond Hettinger f28dd0d1bf Cleanup itertools recipes 2010-04-02 06:23:12 +00:00
Raymond Hettinger 4bfd3bda2e Add and update itertools recipes. 2010-04-02 02:44:31 +00:00
Raymond Hettinger b8d688cd7c Update itertools recipe for consume(). 2010-03-28 18:25:01 +00:00
Raymond Hettinger d282b931a3 Add a note on optimizing the itertools recipes for production. 2010-03-28 18:08:15 +00:00
Raymond Hettinger 5b027f87b5 Update itertools recipes. 2010-03-28 18:02:41 +00:00
Ezio Melotti 77a64e7159 #7746: rephrase a sentence 2010-01-21 20:50:57 +00:00
Raymond Hettinger 9eac119ba8 Fix docstrings for itertools combinatoric functions. 2009-11-19 01:22:04 +00:00
Raymond Hettinger 3a02624059 Add usage note. 2009-06-17 01:43:47 +00:00
Raymond Hettinger cccfc825e4 Fix typo 2009-04-20 18:23:57 +00:00
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