"Felipe Almeida Lessa" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> This works everywhere:
>
> nan = float('nan')

Not.

>>> nan = float('nan')

Traceback (most recent call last):
  File "<pyshell#4>", line 1, in -toplevel-
    nan = float('nan')
ValueError: invalid literal for float(): nan

Above is Windows, which requires something else.

tjr



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to