New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
collections.Counter.most_common does not document None
as acceptable input.
#64133
Comments
Reading the source for collections.Counter.most_common, the docstring mentions that |
This is a very simple patch which addresses the issue. I am still curious whether the reported function signature should be changed from:
to:
. Any thoughts? Also, while I was in there, I changed a few None to |
New changeset 8440dda28ffe by Raymond Hettinger in branch '3.4': |
New changeset df708898f27b by Raymond Hettinger in branch '2.7': |
Thanks for pointing out the omission. |
New changeset 68d653f9a2c9 by Andrew Kuchling in branch '2.7': |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: