summaryrefslogtreecommitdiffstats
path: root/Doc/library/collections.rst
Commit message (Collapse)AuthorAgeFilesLines
* Closes #25910: fix dead and permanently redirected links in the docs. Thanks ↵Georg Brandl2016-02-261-3/+2
| | | | to SilentGhost for the patch.
* Issue #25286: Dictionary views are not sequencesMartin Panter2015-10-071-1/+1
| | | | | Also change glossary heading from "view" to "dictionary view". Patch by Akira Li.
* Make an example a little clearerRaymond Hettinger2015-08-301-0/+1
|
* #19934: fix mangled wordingAndrew Kuchling2015-05-131-3/+3
|
* Issue #19934: Document *None* as an acceptable input to ↵Raymond Hettinger2015-05-131-3/+3
| | | | Counter.most_common([n])
* Issue #20643: Fixed references to the next() method (distinguish from theSerhiy Storchaka2014-09-051-2/+2
| | | | next() function).
* Fix guidance for subclassing collections.Set()Raymond Hettinger2014-07-021-1/+1
|
* Issue #18758: Fixed and improved cross-references.Serhiy Storchaka2013-10-131-3/+3
|
* Counter: fix recipe for "n least common elements". Found by Mikhail Golubev ↵Georg Brandl2013-10-061-1/+1
| | | | on docs@.
* Issue #18015: Fix unpickling of 2.7.3 and 2.7.4 namedtuples.Raymond Hettinger2013-05-271-0/+6
|
* Issue #15535: Fix regression in pickling of named tuples.Raymond Hettinger2013-05-031-3/+1
|
* Update collections ABC table to match the __abstractmethods__ attribute for ↵Raymond Hettinger2013-03-231-21/+27
| | | | each container.
* The example regex should be a raw string.Raymond Hettinger2013-02-281-1/+1
|
* Update example: Counter.subtract returns None, not selfAndrew Svetlov2012-12-171-0/+1
|
* Issue #15825: fix typo in OrderedDict docs.Andrew Svetlov2012-08-311-1/+1
| | | | Patch by Mike Hoy.
* Code cleanupsRaymond Hettinger2012-06-081-31/+33
|
* note that get() is not affected by default_factory (closes #13887)Benjamin Peterson2012-01-271-0/+5
|
* Remove duplication.Ezio Melotti2011-10-191-1/+1
|
* Fix a typo and remove some unneeded markupÉric Araujo2011-08-191-6/+5
|
* Backport source links from 3.x.Éric Araujo2011-08-191-8/+4
| | | | | Existing links have been updated to use the new reST role. In some files, I have also made cosmetic changes to the header.
* Avoid title case in flowing text (backport from 3.2)Éric Araujo2011-08-131-2/+3
|
* Improve glossary entry for ABCs.Éric Araujo2011-07-291-6/+6
| | | | | - Rename reST target name for collections ABCs to avoid collisions - Link to glossary entry from numbers module doc (other modules already do it)
* Fix named tuples to work with vars().Raymond Hettinger2011-06-031-1/+3
|
* Simplify exampleRaymond Hettinger2011-05-211-4/+0
|
* Add another example to the collections module docs.Raymond Hettinger2011-04-161-0/+20
|
* #10617: add class directives to collections ABCs.Ezio Melotti2011-03-281-8/+50
|
* Issue #11625: Fix TypoRaymond Hettinger2011-03-221-1/+1
|
* Minor doc clean-up.Raymond Hettinger2011-03-191-13/+13
| | | | | * Show list of fields option before showing the single string alternative. * Remove the PS2 prompts so that the examples become cut-and-pastable.
* Merged revisions ↵Georg Brandl2011-02-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 87627,87638,87760,87986,88108,88115,88165,88263,88329,88364-88365,88423-88424 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87627 | georg.brandl | 2011-01-02 15:23:43 +0100 (So, 02 Jan 2011) | 1 line #1665333: add more docs for optparse.OptionGroup. ........ r87638 | georg.brandl | 2011-01-02 20:07:51 +0100 (So, 02 Jan 2011) | 1 line Fix code indentation. ........ r87760 | georg.brandl | 2011-01-05 11:59:48 +0100 (Mi, 05 Jan 2011) | 1 line Fix duplicate end tag. ........ r87986 | georg.brandl | 2011-01-13 08:31:18 +0100 (Do, 13 Jan 2011) | 1 line Fix the example output of count(). ........ r88108 | georg.brandl | 2011-01-19 09:42:03 +0100 (Mi, 19 Jan 2011) | 1 line Suppress trailing spaces in table paragraphs. ........ r88115 | georg.brandl | 2011-01-19 21:05:49 +0100 (Mi, 19 Jan 2011) | 1 line #10944: add c_bool to types table. ........ r88165 | georg.brandl | 2011-01-24 20:53:18 +0100 (Mo, 24 Jan 2011) | 1 line Typo fix. ........ r88263 | georg.brandl | 2011-01-30 13:19:35 +0100 (So, 30 Jan 2011) | 1 line #10680: fix mutually exclusive arguments in argument groups. ........ r88329 | georg.brandl | 2011-02-03 08:08:25 +0100 (Do, 03 Feb 2011) | 1 line Punctuation typos. ........ r88364 | georg.brandl | 2011-02-07 13:10:46 +0100 (Mo, 07 Feb 2011) | 1 line #11138: fix order of fill and align specifiers. ........ r88365 | georg.brandl | 2011-02-07 13:13:58 +0100 (Mo, 07 Feb 2011) | 1 line #8691: document that right alignment is default for numbers. ........ r88423 | georg.brandl | 2011-02-15 13:41:17 +0100 (Di, 15 Feb 2011) | 1 line Apply logging SocketHandler doc update by Vinay. ........ r88424 | georg.brandl | 2011-02-15 13:44:43 +0100 (Di, 15 Feb 2011) | 1 line Remove editing slip. ........
* Merged revisions ↵Georg Brandl2011-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 87050,87101,87146,87156,87172,87175,87371,87378,87522-87524,87526,87530-87535 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87050 | georg.brandl | 2010-12-04 18:09:30 +0100 (Sa, 04 Dez 2010) | 1 line Fix typo. ........ r87101 | georg.brandl | 2010-12-06 23:02:48 +0100 (Mo, 06 Dez 2010) | 1 line Remove visible XXX comments. ........ r87146 | georg.brandl | 2010-12-09 19:08:43 +0100 (Do, 09 Dez 2010) | 1 line Fix "seperate". ........ r87156 | georg.brandl | 2010-12-10 11:01:44 +0100 (Fr, 10 Dez 2010) | 1 line #10668: fix wrong call of __init__. ........ r87172 | georg.brandl | 2010-12-11 20:10:30 +0100 (Sa, 11 Dez 2010) | 1 line Avoid AttributeError(_closed) when a TemporaryDirectory is deallocated whose mkdtemp call failed. ........ r87175 | georg.brandl | 2010-12-11 23:19:34 +0100 (Sa, 11 Dez 2010) | 1 line Fix markup. ........ r87371 | georg.brandl | 2010-12-18 17:21:58 +0100 (Sa, 18 Dez 2010) | 1 line Fix typo. ........ r87378 | georg.brandl | 2010-12-18 18:51:28 +0100 (Sa, 18 Dez 2010) | 1 line #10723: add missing builtin exceptions. ........ r87522 | georg.brandl | 2010-12-28 10:16:12 +0100 (Di, 28 Dez 2010) | 1 line Replace sys.maxint mention by sys.maxsize. ........ r87523 | georg.brandl | 2010-12-28 10:18:24 +0100 (Di, 28 Dez 2010) | 1 line Remove confusing paragraph -- this is relevant only to advanced users anyway and does not belong into the tutorial. ........ r87524 | georg.brandl | 2010-12-28 10:29:19 +0100 (Di, 28 Dez 2010) | 1 line Fix advice: call PyType_Ready to fill in ob_type of custom types. ........ r87526 | georg.brandl | 2010-12-28 11:38:33 +0100 (Di, 28 Dez 2010) | 1 line #10777: fix iteration over dict keys while mutating the dict. ........ r87530 | georg.brandl | 2010-12-28 12:06:07 +0100 (Di, 28 Dez 2010) | 1 line #10767: update README in crashers; not all may have a bug entry and/or be fixed. ........ r87531 | georg.brandl | 2010-12-28 12:08:17 +0100 (Di, 28 Dez 2010) | 1 line #10742: document readonly attribute of memoryviews. ........ r87532 | georg.brandl | 2010-12-28 12:15:49 +0100 (Di, 28 Dez 2010) | 1 line #10781: clarify that *encoding* is not a parameter for Node objects in general. ........ r87533 | georg.brandl | 2010-12-28 12:38:12 +0100 (Di, 28 Dez 2010) | 1 line Remove history; adapt a bit more to reST, since this will once be part of the dev guide. ........ r87534 | georg.brandl | 2010-12-28 12:48:53 +0100 (Di, 28 Dez 2010) | 1 line Rewrap. ........ r87535 | georg.brandl | 2010-12-28 12:49:41 +0100 (Di, 28 Dez 2010) | 1 line #10739: document that on Windows, socket.makefile() does not make a file that has a true file descriptor usable where such a thing is expected. ........
* Add missing label.Georg Brandl2010-12-041-0/+2
|
* Add some internal links.Raymond Hettinger2010-11-301-4/+3
|
* Move version added notes into the index tableRaymond Hettinger2010-11-061-19/+7
|
* Provide links to Python source in a handful ofRaymond Hettinger2010-11-051-0/+7
| | | | | cases where the source is a generally helpful adjunct to the docs.
* Note default values for namedtuple extra args.Georg Brandl2010-10-171-1/+1
|
* Backport improvements to doc readability for the collections module.Raymond Hettinger2010-08-081-121/+125
|
* Merged revisions 83328,83341 via svnmerge fromGeorg Brandl2010-08-011-0/+12
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83328 | raymond.hettinger | 2010-07-31 12:14:41 +0200 (Sa, 31 Jul 2010) | 1 line Document how to change OrderedDict update order from first to last. ........ r83341 | georg.brandl | 2010-07-31 13:40:07 +0200 (Sa, 31 Jul 2010) | 1 line #9430: document timedelta str() and repr(). ........
* Merged revisions 82952 via svnmerge fromBenjamin Peterson2010-07-181-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82952 | benjamin.peterson | 2010-07-18 09:23:36 -0500 (Sun, 18 Jul 2010) | 1 line use classmethod ........
* Add usage notes for collections.Counter().Raymond Hettinger2010-04-121-0/+27
|
* Revert 79733 - Counter is new in 2.7, the versionadded is not necessary - ↵Ezio Melotti2010-04-041-3/+1
| | | | and fix a typo.
* Add a versionadded to Counter.subtract() doc.Ezio Melotti2010-04-041-0/+2
|
* Add count() method to collections.deque().Raymond Hettinger2010-04-031-0/+6
|
* Add subtract() method to collections.Counter() objects.Raymond Hettinger2010-04-031-0/+11
|
* Add nicer docstrings to namedtuples().Raymond Hettinger2010-03-091-2/+5
| | | | Provides better tooltips and looks better in help().
* typo: __next__ -> nextEzio Melotti2010-02-261-1/+1
|
* #7586: fix typo.Georg Brandl2009-12-281-1/+1
|
* #7388: "python".capitalize() in the DocEzio Melotti2009-12-191-1/+1
|
* Add a reverse() method to collections.deque().Raymond Hettinger2009-12-101-0/+5
|
* Show example of how to make a sorted dictionaryRaymond Hettinger2009-11-101-0/+22
|
* builtin -> built-in.Georg Brandl2009-07-261-1/+1
|