Skip to content

Commit a3dfa07

Browse files
committed
Change wording to be more clear
Updated the wording as it had been unclear.
1 parent 9c06689 commit a3dfa07

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/collections/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,8 +553,8 @@ class Counter(dict):
553553
or multiset. Elements are stored as dictionary keys and their counts
554554
are stored as dictionary values.
555555
556-
Note: If a Mapping or Counter is used to initialize a Counter object
557-
the values from that object will be preserved.
556+
When constructed from a Mapping or Counter, the original object's
557+
values will be used as the initial counts.
558558
559559
>>> c = Counter('abcdeabcdabcaba') # count elements from a string
560560

0 commit comments

Comments
 (0)