On Thu, Sep 20, 2012 at 7:12 AM, Benjamin Peterson <benja...@python.org> wrote:No -- Mark's point is that (even given this syntax) you *could* pass
> 2012/9/20 Mark Dickinson <dicki...@gmail.com>:
> I tried to define the error messages in terms of the callee's
> def f(a, b, c, *args, d):
> a, b, and c are positional. Hence the "positional" in error messages.
them using keywords.
I think Brett's got it right and we should just refer to a and b as
Of course, in a specific call, we can continue to refer to positional
Maybe this is also a good time to start distinguishing between
> As you noted in your next message, keyword-only arguments need to be--
> distinguished from these "positional" arguments somehow. Maybe it
> helps to think of "positional" to mean "the only formals you can pass
> to with position" (excepting variadic ones).
> I'm certainly open to suggestions.
--Guido van Rossum (python.org/~guido)
Python-Dev mailing list
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.