List replication operator
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Thu May 24 22:32:58 EDT 2018
On Fri, 25 May 2018 08:02:38 +1000, Cameron Simpson wrote:
> I'm also against the "**" spelling I find, for much the same reasons
> that people oppose allowing "=" and "==" in the same syntactic location:
> they're easy to get wrong through typing inaccuracy.
Do you often write
y = 2**x
when you meant 2*x?
In any case, I'm not wedded to the ** spelling, MRAB's suggestion of @
would work for me too.
--
Steve
More information about the Python-list
mailing list