On 14/12/2013 19:42, Peter Otten wrote:
Mark Lawrence wrote:
This method returns a list, the example from The Fine Docs being:-
>>> Counter('abracadabra').most_common(3)
[('a', 5), ('r', 2), ('b', 2)]
With the trend in Python being more and more towards methods returning
iterators, is there
Mark Lawrence wrote:
> This method returns a list, the example from The Fine Docs being:-
>
> >>> Counter('abracadabra').most_common(3)
> [('a', 5), ('r', 2), ('b', 2)]
>
> With the trend in Python being more and more towards methods returning
> iterators, is there ever likely to be an imost_co
In article ,
Mark Lawrence wrote:
> This method returns a list, the example from The Fine Docs being:-
>
> >>> Counter('abracadabra').most_common(3)
> [('a', 5), ('r', 2), ('b', 2)]
>
> With the trend in Python being more and more towards methods returning
> iterators, is there ever likely t
This method returns a list, the example from The Fine Docs being:-
>>> Counter('abracadabra').most_common(3)
[('a', 5), ('r', 2), ('b', 2)]
With the trend in Python being more and more towards methods returning
iterators, is there ever likely to be an imost_common method, or has
this been sugg