Il 15/07/2015 15:59, Gabriele Battaglia ha scritto:
Ricevo un errore di sintassi su un confronto:

if x <> 0:

E` la prima volta che vedo quella sintassi in Python :)

The forms <> and != are equivalent; for consistency with C, != is preferred;
where != is mentioned below <> is also accepted. The <> spelling is considered
obsolescent.

Questo dalla doc di python 2.4 che ha più di 10 anni. Quanto vecchia è la tua codebase? ;)

--
Riccardo Magliocchetti
@rmistaken

http://menodizero.it
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a