[New-bugs-announce] [issue14918] Incorrect explanation of TypeError exception
Thanos Tsouanas
report at bugs.python.org
Fri May 25 18:21:04 CEST 2012
New submission from Thanos Tsouanas <thanos at sians.org>:
# This correctly raises a type error, but the explanation
# that comes with it is bad:
def foo(x, y, z=28):
return
foo(x, z=8)
# TypeError: foo() takes at least 2 arguments (2 given)
----------
messages: 161588
nosy: Thanos.Tsouanas
priority: normal
severity: normal
status: open
title: Incorrect explanation of TypeError exception
type: behavior
versions: Python 2.7, Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14918>
_______________________________________
More information about the New-bugs-announce
mailing list