Skip to content

Commit

Permalink
Fixed typo in collections
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsudip committed Sep 17, 2013
1 parent 25e42f9 commit 58992c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/collections.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Counter example
>>> Counter(words).most_common(10)
[('2', 97), ('the', 80), ('or', 78), ('1', 76), ('of', 61), ('to', 50), ('and', 47), ('python', 46), ('psf', 44), ('in', 38)]

Counter objects has an method called *elements* which returns an iterator over elements repeating each as many times as its count. Elements are returned in arbitrary order.
Counter objects has a method called *elements* which returns an iterator over elements repeating each as many times as its count. Elements are returned in arbitrary order.

::

Expand Down

0 comments on commit 58992c0

Please sign in to comment.