New submission from Thanos Tsouanas <tha...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue14918> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com