[Python-3000] PEP 3102 comments

Antoine Pitrou solipsis at pitrou.net
Wed May 24 23:06:27 CEST 2006


Le mercredi 24 mai 2006 à 15:43 -0400, Benji York a écrit :
> Hmm, the next best thing I can come up with is:
> 
> def f(a, b, =, c, d):

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.





More information about the Python-3000 mailing list