From D

Jakub Stolarski jakub.stolarski at gmail.com
Wed Jul 25 09:32:12 CEST 2007


On Jul 25, 1:08 am, Steven D'Aprano
<st... at REMOVE.THIS.cybersource.com.au> wrote:
> Underscores in numerics are UGLY. Why not take a leaf out of implicit
> string concatenation and allow numeric literals to implicitly concatenate?
>
> Python already does:
> "hello-" "world" => "hello-world"
>
> Propose:
> 123 456 789 => 123456789
> 123.456 789 => 123.456789
>

I like that.




More information about the Python-list mailing list