-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Labels
stubs: false positiveType checkers report false errorsType checkers report false errors
Description
I'm quite surprised because I can use a Counter to store non-integer values. Is it a feature or just permissiveness in implementation?
E.g. the following code works (tested on python 3.7.4):
from collections import Counter
spam = Counter()
spam["egg"] += 3.4connorbrinton, vbrozik and maxfischer2781
Metadata
Metadata
Assignees
Labels
stubs: false positiveType checkers report false errorsType checkers report false errors