summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2014-02-08 19:44:16 +1000
committerNick Coghlan <ncoghlan@gmail.com>2014-02-08 19:44:16 +1000
commitbfd68bf4ac6661bf0fab51178583bee88840a8e6 (patch)
tree25150831444976e4c64ac363fee3645861612d90 /Python
parentec1c8097c18c5fadaf74ff25c9bc88bf661e3222 (diff)
downloadcpython-git-bfd68bf4ac6661bf0fab51178583bee88840a8e6.tar.gz
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)
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions