cpython/Lib/collections
Miss Islington (bot) 5cc8361e4b
[3.15] gh-154746: Update docstring for collections.Counter (GH-154792) (GH-154793)
Added a note to `collections.Counter`'s docstring that initializing a `Counter` from a `Mapping` or `Counter` will have different behaviour than initializing from other `Iterable`s.

This behaviour was already documented in the canonical docs but is missing from the help() output.
(cherry picked from commit 22a123f130)

Co-authored-by: Dan Shernicoff <dan@brassnet.biz>
2026-07-27 22:30:04 -04:00
..
__init__.py [3.15] gh-154746: Update docstring for collections.Counter (GH-154792) (GH-154793) 2026-07-27 22:30:04 -04:00