Commit Graph

12 Commits

Author SHA1 Message Date
Raymond Hettinger fef854602b Factor-out named tuple class definition template strings. 2011-03-22 21:14:41 -07:00
Raymond Hettinger 74b015e243 Clean-up whitespace. 2011-03-22 14:22:52 -07:00
Raymond Hettinger 3e82ae0aae Replace **locals() with explicit field names. 2011-03-22 14:21:38 -07:00
Raymond Hettinger 9a3f4cbfc3 Simplify the named tuple template by using the new string format syntax. 2011-03-22 14:07:23 -07:00
Raymond Hettinger 50105d3840 Improve readability by replacing '\n' in template with real newlines. 2011-03-22 13:34:03 -07:00
Ezio Melotti 373089239b #11515: Merge with 3.2. 2011-03-15 06:03:08 +02:00
Raymond Hettinger d032131dcb Add __bool__ method. Add tests. Fix-up broken test. 2011-02-26 06:53:58 +00:00
Raymond Hettinger 9fe1ccfb5a Issue #11297: Add collections.ChainMap() 2011-02-26 01:02:51 +00:00
Eli Bendersky cbbaa96036 Issue #10516: adding list.clear() and list.copy() methods 2011-02-25 05:47:53 +00:00
Raymond Hettinger 499e19340e Add tests for the _ChainMap helper class. 2011-02-23 07:56:53 +00:00
Raymond Hettinger c9423109f5 Factor-out common code for helper classes. 2011-02-22 01:55:36 +00:00
Raymond Hettinger 158c9c26fc Issue #11085: Moved collections abstract base classes into a separate module
called collections.abc, following the pattern used by importlib.abc.  For
backwards compatibility, the names continue to also be imported into the
collections module.
2011-02-22 00:41:50 +00:00