Update p12_determine_most_freqently_items_in_seq.rst

This commit is contained in:
Yanpeton
2016-09-21 21:44:49 +08:00
committed by GitHub
parent 06b92701d6
commit d351f5ad78

View File

@@ -33,7 +33,7 @@
----------
讨论
----------
作为输入, ``Counter`` 对象可以接受任意的 ``hashable`` 序列对象。
作为输入, ``Counter`` 对象可以接受任意的由可哈希(``hashable``)元素构成的序列对象。
在底层实现上,一个 ``Counter`` 对象就是一个字典,将元素映射到它出现的次数上。比如:
.. code-block:: python