[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: oo notation
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 7 May 2007 09:54:16 -0300
> Would it be possible, I wonder, to add some sugar that allowed
> the notation "x = %d\n":format(123)? There is the precedent of
> letting literal strings lose the parentheses when they are a
> single argument to a function. I cannot see any ambiguities
> arising
Note that
a=f
"x = %d\n":format(123)
is parsed as
a=f"x = %d\n":format(123)
which is probably not what you meant.
--lhf