[docs] [issue19934] collections.Counter.most_common does not document `None` as acceptable input.

Matthew Gilson report at bugs.python.org
Mon Dec 9 05:59:56 CET 2013


Matthew Gilson added the comment:

This is a very simple patch which addresses the issue.  I am still curious whether the reported function signature should be changed from:

    .. method:: most_common([n])

to:

    .. method:: most_common(n=None)

.  Any thoughts?

Also, while I was in there, I changed a few *None* to ``None`` for consistency with the rest of the documentation.

----------
keywords: +patch
Added file: http://bugs.python.org/file33050/mywork.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19934>
_______________________________________


More information about the docs mailing list