Chris Angelico <ros...@gmail.com>:

> On Tue, Mar 18, 2014 at 5:15 AM, Marko Rauhamaa <ma...@pacujo.net> wrote:
>> Is "-2.0" a literal?
>>
>> What's the outcome of
>>
>>    -2.0.__str__()
>
> If you mean (-2.0).__str__(), then it returns '-2.0', but that proves
> nothing.

The point is, you don't need to "philosophize" about complex literals
when even negative numbers don't have literals in Python.


Marko
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to