Raymond Hettinger
b00da57561
Issue #26194 : Inserting into a full deque to raise an IndexError
2016-02-01 21:19:22 -08:00
Raymond Hettinger
0ef0423cb2
merge
2016-01-26 21:46:03 -08:00
Raymond Hettinger
3743432302
Issue #26194 : Fix undefined behavior for deque.insert() when len(d) == maxlen
2016-01-26 21:44:16 -08:00
Raymond Hettinger
c880ef8d30
merge
2015-11-23 22:19:12 -08:00
Raymond Hettinger
6e701310d1
Issue #25700 : Clarify that namedtuple property docstrings became writeable in 3.5
2015-11-23 22:18:55 -08:00
Raymond Hettinger
349718a20a
merge
2015-11-10 00:09:49 -08:00
Raymond Hettinger
d2f6974240
Improve appearance of example code
2015-11-10 00:09:34 -08:00
Raymond Hettinger
5bfb9f0b1f
merge
2015-11-10 00:00:17 -08:00
Raymond Hettinger
549e34cc7b
Remove confusing section from named tuple recipes.
2015-11-10 00:00:00 -08:00
Raymond Hettinger
2fbde51e2f
merge
2015-11-09 08:26:28 -08:00
Raymond Hettinger
850be0fb18
Improve namedtuple doc string examples
2015-11-09 08:24:53 -08:00
Martin Panter
585a6acfef
Merge typo fixes from 3.5
2015-10-07 11:13:55 +00:00
Martin Panter
3f930dcd87
Merge typo fixes from 3.4 into 3.5
2015-10-07 11:01:47 +00:00
Martin Panter
9955a373a8
Various minor typos in documentation and comments
2015-10-07 10:26:23 +00:00
Martin Panter
6568714366
Issue #25286 : Merge dictionary view glossary from 3.5
2015-10-07 10:04:49 +00:00
Martin Panter
397625e432
Issue #25286 : Update dictionary view link; patch by Akira Li
2015-10-07 10:03:20 +00:00
Yury Selivanov
cbed49550a
Merge 3.5
2015-09-09 12:23:18 -04:00
Yury Selivanov
336b37b1dd
whatsnew/3.5: First pass over NEWS is done.
2015-09-09 12:23:01 -04:00
Raymond Hettinger
7f9f27d767
merge
2015-08-30 09:17:02 -07:00
Raymond Hettinger
9157545c11
merge
2015-08-30 09:15:36 -07:00
Raymond Hettinger
7a3602e7cf
Issue #24931 : Resolve __dict__ conflict in namedtuple subclasses.
2015-08-30 09:13:48 -07:00
Raymond Hettinger
2a75e8f958
Issue #24842 : Cross-reference types.SimpleNamespace from the namedtuple docs
2015-08-16 08:32:01 -07:00
Senthil Kumaran
b4760efbad
Back porting changeset db302b88fdb6 to 3.4 branch, which fixed multiple documentation typos.
...
Related Issues:
#issue21528
#issue24453
2015-06-14 17:35:37 -07:00
Raymond Hettinger
855482e74c
Issue #24269 : Minor doc fixups.
2015-05-23 08:57:58 -07:00
Berker Peksag
fee05daef8
Issue #24232 : Fix typos. Patch by Ville Skyttä.
2015-05-19 01:38:05 +03:00
Berker Peksag
315e104d11
Issue #24232 : Fix typos. Patch by Ville Skyttä.
2015-05-19 01:36:55 +03:00
Raymond Hettinger
b01a1fdb94
merge
2015-05-13 14:39:35 -07:00
Raymond Hettinger
3afdb2870f
Fix mangled wording
2015-05-13 14:39:04 -07:00
Raymond Hettinger
46cf02d25a
merge
2015-05-13 02:48:21 -07:00
Raymond Hettinger
a3780259e4
Issue #19934 : Document *None* as an acceptable input to Counter.most_common([n])
2015-05-13 02:47:57 -07:00
Berker Peksag
de7cafaa63
Issue #24064 : Add __doc__ to the example in collections.rst.
2015-05-13 12:16:27 +03:00
Raymond Hettinger
eac503aeac
Issue #24064 : Property() docstrings are now writeable.
...
(Patch by Berker Peksag.)
2015-05-13 01:09:59 -07:00
Raymond Hettinger
41290a68ba
Issue 23793: Add deque support for __add__(), __mul__(), and __imul__().
2015-03-31 08:12:23 -07:00
Raymond Hettinger
32ea16577d
Issue 23704: Add index(), copy(), and insert() to deques. Register deques as a MutableSequence.
2015-03-21 01:37:37 -07:00
Georg Brandl
e21a531ef1
merge with 3.4
2014-10-31 10:39:29 +01:00
Georg Brandl
8ed75cd8e9
#22613 : minor other fixes in library docs (thanks Jacques Ducasse)
2014-10-31 10:25:48 +01:00
Georg Brandl
794e9bf1fe
merge with 3.4
2014-10-29 10:27:06 +01:00
Georg Brandl
525d355984
Fixing broken links in doc, part 3: the rest
2014-10-29 10:26:56 +01:00
Ezio Melotti
788f2adeae
#22196 : link to Enum in the nametuple documentation. Patch by Karmen Dykstra.
2014-10-28 15:07:14 +01:00
Ezio Melotti
993c782565
#22196 : link to Enum in the nametuple documentation. Patch by Karmen Dykstra.
2014-10-28 15:07:14 +01:00
Donald Stufft
8b852f111e
Fix Issue #21528 - Fix documentation typos
2014-05-20 12:58:38 -04:00
Serhiy Storchaka
578c9211d6
Issue #19505 : The items, keys, and values views of OrderedDict now support
...
reverse iteration using reversed().
2014-04-04 15:19:36 +03:00
Zachary Ware
e74f96ded5
Merge typo fix.
2014-01-13 20:39:21 -06:00
Zachary Ware
80602e0e1b
Fix typo.
2014-01-13 20:38:57 -06:00
Serhiy Storchaka
f47036c130
Removed spaces before colons and semicolons.
2013-12-24 11:04:36 +02:00
Serhiy Storchaka
89e84e7523
Removed spaces before colons and semicolons.
2013-12-24 11:05:24 +02:00
Raymond Hettinger
c93dbe2f9b
Issue #19271 : By Python3.4, the Python 2.4 backport links are no longer of much interest.
2013-10-20 20:42:07 -07:00
Serhiy Storchaka
98b28fddd8
Issue #18758 : Fixed and improved cross-references.
2013-10-13 23:12:09 +03:00
Serhiy Storchaka
bfdcd436f0
Issue #18758 : Fixed and improved cross-references.
2013-10-13 23:09:14 +03:00
Georg Brandl
924c822f73
merge with 3.3
2013-10-06 12:37:21 +02:00
Georg Brandl
87f3d7bb54
Counter: fix recipe for "n least common elements". Found by Mikhail Golubev on docs@.
2013-10-06 12:36:39 +02:00
Raymond Hettinger
163e9821b4
Undo the deprecation of _asdict().
...
Backed out changeset c4ca39bece9d
2013-05-18 00:05:20 -07:00
Raymond Hettinger
4e0172fd9a
Deprecate nametuple._asdict()
2013-05-17 17:14:27 -07:00
Raymond Hettinger
0580cbb164
Merge
2013-03-01 03:31:05 -08:00
Raymond Hettinger
faaba59977
Regex should be a raw string
2013-03-01 03:30:20 -08:00
Vinay Sajip
1ba81ee19a
Closes #16613 : Added optional mapping argument to ChainMap.new_child.
2013-01-11 23:39:53 +00:00
Andrew Svetlov
7c42398f3b
Update example: Counter.subtract returns None, not self
2012-12-17 14:01:29 +02:00
Andrew Svetlov
f635172c72
Update example: Counter.subtract returns None, not self
2012-12-17 14:01:16 +02:00
Georg Brandl
2fdc0f8a86
Fix markup in Counter note.
2012-10-06 22:38:20 +02:00
Andrew Svetlov
1a8db9cd1d
Fix typo in documentation for collections.ChainMap, thanks to Olivier Bernard from docs@
2012-10-04 19:29:25 +03:00
Andrew Svetlov
2d337c7061
Issue #15825 : fix typo in OrderedDict docs.
...
Patch by Mike Hoy.
2012-08-31 13:55:11 +03:00
Andrew Svetlov
ff63e7afcf
Issue #15825 : fix typo in OrderedDict docs.
...
Patch by Mike Hoy.
2012-08-31 13:54:54 +03:00
Sandro Tosi
ea47530e14
update CodeTools link; thanks to Robert Kern from docs@
2012-08-12 10:37:23 +02:00
Raymond Hettinger
b22ba046ae
Fix typo
2012-07-16 02:07:41 -07:00
Raymond Hettinger
b2269baca3
Clean-up example
2012-07-15 23:53:32 -07:00
Raymond Hettinger
2a61c451f2
cm.parents is property, not a method
2012-07-15 22:37:20 -07:00
Raymond Hettinger
6fed9fdf22
Fix indentation of method and attribute examples.
2012-06-11 00:38:14 -07:00
Raymond Hettinger
bfcb42936b
Expand examples for ChainMap(). Improve markup.
2012-06-10 11:39:44 -07:00
Raymond Hettinger
7929cfb18c
Note that the _asdict() method is outdated
2012-06-09 19:15:26 -07:00
Georg Brandl
283b96b6bd
Move ChainMap versionadded to be less ambiguous.
2012-04-03 09:16:46 +02:00
Georg Brandl
4dcf474337
Fix indentation.
2012-03-08 20:35:08 +01:00
Benjamin Peterson
bc9f1b5a14
merge heads ( #13887 )
2012-01-27 09:14:29 -05:00
Benjamin Peterson
871b9d169d
note that get() is not affected by default_factory ( closes #13887 )
2012-01-27 09:14:01 -05:00
Raymond Hettinger
becd56822a
Issue #13121 : Support in-place math operators for collections.Counter().
2011-10-19 13:40:37 -07:00
Ezio Melotti
f10644983e
Merge with 3.2.
2011-10-19 11:06:26 +03:00
Ezio Melotti
e130a52d8a
Remove duplication.
2011-10-19 10:58:56 +03:00
Éric Araujo
24d6cc6f4f
Merge 3.2
2011-08-19 03:19:36 +02:00
Éric Araujo
889a7dcb3a
Fix a typo and touch up blank lines
2011-08-19 00:40:46 +02:00
Éric Araujo
e5905a9413
Fix typo
2011-08-16 19:09:56 +02:00
Raymond Hettinger
fcb393c018
Add support for unary plus and unary minus to collections.Counter()
2011-08-09 13:00:40 -07:00
Raymond Hettinger
4d5208d2e2
Fix typo (reported by Hiro Ashiya).
2011-06-25 11:39:00 +02:00
Raymond Hettinger
f68f7148d1
Fix typo (reported by Hiro Ashiya).
2011-06-25 11:39:42 +02:00
Éric Araujo
7ebadd5d8d
Use correct directive to document one method
2011-06-11 03:27:03 +02:00
Éric Araujo
fa088dbd0c
Improve glossary entry for ABCs.
...
- Rename reST target name for collections ABCs to avoid collisions
- Add link to importlib ABCs (collections, numbers and io ABCs were already
linked)
- Link to glossary entry from numbers module doc (other modules already do it)
2011-06-04 18:42:38 +02:00
Éric Araujo
07e58c3389
Remove link that’s already present at the top of the file
2011-06-03 20:43:42 +02:00
Éric Araujo
f90112efe8
Fix reST label for collections ABCs.
...
The previous markup hijacked the abstract-base-classes glossary entry,
which resulted in the HTML linking to collections.abc when defining the
generic ABC concept. Now the glossary links to the abc module.
2011-06-03 19:18:41 +02:00
Raymond Hettinger
3d89057ff8
Fix named tuples to work with vars().
2011-06-02 23:40:24 -07:00
Raymond Hettinger
89cc452f4b
Simplify example
2011-05-21 09:37:36 -07:00
Raymond Hettinger
f9ca76f500
Simplify example
2011-05-21 09:33:45 -07:00
Éric Araujo
405d77872b
Remove unneeded backslashes
2011-04-24 03:00:58 +02:00
Éric Araujo
08c9bd57f2
Remove unneeded backslashes
2011-04-24 02:59:02 +02:00
Raymond Hettinger
4c2ffab80b
merge
2011-04-15 17:44:30 -07:00
Raymond Hettinger
f05c1394fe
merge
2011-04-15 17:43:57 -07:00
Raymond Hettinger
7bba683d27
Add another example to the collections module docs.
2011-04-15 17:43:19 -07:00
Raymond Hettinger
4bbde72440
Fix markup.
2011-04-11 17:57:21 -07:00
Raymond Hettinger
d6056b7d8d
Issue #7796 : Add link to Jan Kaliszewski's alternate constructor and ABC for named tuples.
2011-03-31 15:46:39 -07:00
Raymond Hettinger
6c94e6fb42
Issue #7796 : Add link to Jan Kaliszewski's alternate constructor and ABC for named tuples.
2011-03-31 15:46:06 -07:00
Ezio Melotti
7ef2b46a0a
#10617 : merge with 3.1.
2011-03-28 13:53:40 +03:00
Ezio Melotti
9b2e67c4fa
#10617 : add class directives to collections ABCs.
2011-03-28 13:50:41 +03:00
Raymond Hettinger
2ebea41d31
Expose the namedtuple source with a _source attribute.
2011-03-23 12:52:23 -07:00