[New-bugs-announce] [issue34127] Gramatically incorrect error message for some descriptor calls with wrong number of arguments

ppperry report at bugs.python.org
Mon Jul 16 14:38:33 EDT 2018


New submission from ppperry <mapreader at olum.org>:

`{}.get()`
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: get expected at least 1 arguments, got 0

Shouldn't that be "TypeError: get expected at least 1 argument, got 0" instead?

----------
components: Interpreter Core
messages: 321752
nosy: ppperry
priority: normal
severity: normal
status: open
title: Gramatically incorrect error message for some descriptor calls with wrong number of arguments
versions: Python 3.6, Python 3.7

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


More information about the New-bugs-announce mailing list