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

2015-05-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8440dda28ffe by Raymond Hettinger in branch '3.4': Issue #19934: Document *None* as an acceptable input to Counter.most_common([n]) https://hg.python.org/cpython/rev/8440dda28ffe -- nosy: +python-dev

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

2015-05-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for pointing out the omission. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19934 ___

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

2015-05-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset df708898f27b by Raymond Hettinger in branch '2.7': Issue #19934: Document *None* as an acceptable input to Counter.most_common([n]) https://hg.python.org/cpython/rev/df708898f27b -- ___ Python tracker

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

2015-05-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 68d653f9a2c9 by Andrew Kuchling in branch '2.7': #19934: fix mangled wording https://hg.python.org/cpython/rev/68d653f9a2c9 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19934

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

2013-12-11 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: docs@python - rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19934 ___

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

2013-12-08 Thread Matthew Gilson
New submission from Matthew Gilson: Reading the source for collections.Counter.most_common, the docstring mentions that `n` can be `None` or omitted, but the online documentation does not mention that `n` can be `None`. -- assignee: docs@python components: Documentation messages:

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

2013-12-08 Thread Matthew Gilson
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,

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

2013-12-08 Thread Vajrasky Kok
Changes by Vajrasky Kok sky@speaklikeaking.com: -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19934 ___ ___