Raymond Hettinger
faaba59977
Regex should be a raw string
2013-03-01 03:30:20 -08: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
Raymond Hettinger
ba7b560c1d
Fix set representation in an example.
2011-03-22 22:57:49 -07:00
Raymond Hettinger
b2d0945c87
Minor named tuple clean-ups.
2011-03-22 22:36:21 -07:00
Antoine Pitrou
36920354c7
Merge
2011-03-22 18:33:33 +01:00
Raymond Hettinger
608aba301e
Issue #11625 : Fix Typo
2011-03-22 09:12:18 -07:00
Raymond Hettinger
e5820c6b5d
Issue #11625 : Fix Typo
2011-03-22 09:11:39 -07:00