Mark Dickinson <dicki...@gmail.com> added the comment: It might help if the error message also stated how many arguments were actually received, like the TypeError message already does for bad function / method calls. E.g.,
"struct.error: pack expected 2 items for packing (got 1)" ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14897> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com