Antoine Pitrou wrote:
> Why not:
>   def f(a, b, !c, !d):
> 
> The exclamation mark can be thought to say "you must explicitly mention
> this one by its name".
> I think having a sigil in front of a variable name is less ugly than
> having a separate sigil between commas as a fake parameter.

In that case, just use the current default value syntax, sans value (d, 
below):

def f(a, b, c=None, d=):
--
Benji
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to