commit | bfd68bf4ac6661bf0fab51178583bee88840a8e6 | [log] [tgz] |
---|---|---|
author | Nick Coghlan <ncoghlan@gmail.com> | Sat Feb 08 19:44:16 2014 +1000 |
committer | Nick Coghlan <ncoghlan@gmail.com> | Sat Feb 08 19:44:16 2014 +1000 |
tree | 25150831444976e4c64ac363fee3645861612d90 | |
parent | ec1c8097c18c5fadaf74ff25c9bc88bf661e3222 [diff] |
Issue #20478: avoid special casing Counter in statistics Passing Counter objects to the Counter constructor is special cased, going through iter() firsts ensures they are handled the same way as any other iterable. (Committing on Steven's behalf as I don't believe his SSH key is registered yet)