diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2014-02-08 19:44:16 +1000 |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2014-02-08 19:44:16 +1000 |
commit | bfd68bf4ac6661bf0fab51178583bee88840a8e6 (patch) | |
tree | 25150831444976e4c64ac363fee3645861612d90 /Lib/idlelib/PyShell.py | |
parent | ec1c8097c18c5fadaf74ff25c9bc88bf661e3222 (diff) | |
download | cpython-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 'Lib/idlelib/PyShell.py')
0 files changed, 0 insertions, 0 deletions