[Python-3000] Signature API

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Apr 22 05:49:28 CEST 2006


Jim Jewett wrote:

> On the other hand, it would be pretty easy to miss that x needed a
> value, particularly if x were the third or fourth of a dozen keywords.

That could be addressed by requiring that all mandatory
keyword-only args are listed before the optional ones
in the def. Of course, you would be allowed to supply
them in any order in the call.

--
Greg


More information about the Python-3000 mailing list