On Thu, Sep 20, 2012 at 9:56 PM, Mark Dickinson <dicki...@gmail.com> wrote: > I submit that the word 'positional' in the TypeError message > exacerbates this confusion, and that little would be lost by simply > dropping it from the exception message.
+1 for using the unqualified "argument" in these error messages to mean "positional or keyword argument" (inspect.Parameter spells it out as POSITIONAL_OR_KEYWORD, but the full phrase is far too verbose for an error message). Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com