[Python-3000] Type Expressions
Aahz
aahz at pythoncraft.com
Fri Apr 21 19:53:23 CEST 2006
On Fri, Apr 21, 2006, Guido van Rossum wrote:
> On 4/21/06, Mark Russell <mark.russell at zen.co.uk> wrote:
>>
>> Another wild thought:
>>
>> def foo(a, b, @keyword_only c, d):
>> pass
>>
>> Actually that one could go in 2.X - it's currently a syntax error.
>
> To prevent more abominations like this, let me pronounce that I now
> like the single-star syntax:
>
> def foo(a, b, *, x=1, y=2): ...
So the way to get you to pronounce in favor of an abomination is to
suggest a worse abomination? ;-)
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"Argue for your limitations, and sure enough they're yours." --Richard Bach
More information about the Python-3000
mailing list