[issue45313] Counter.elements() wrong error message

bytebites report at bugs.python.org
Tue Sep 28 13:26:47 EDT 2021


New submission from bytebites <artopoi at gmail.com>:

aCounter.elements(1) gives wrong error message:
TypeError: Counter.elements() takes 1 positional argument but 2 were given

----------
messages: 402795
nosy: bytebites
priority: normal
severity: normal
status: open
title: Counter.elements() wrong error message
type: behavior
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45313>
_______________________________________


More information about the Python-bugs-list mailing list