> Gabriele Battaglia ha scritto:
>> Ricevo un errore di sintassi su un confronto:
>> 
>> if x <> 0:

Riccardo Magliocchetti wrote:
> 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? ;)

Magari sta lavorando su Mailman, le battaglie di Barry Warsaw su questo
punto sono rimaste nella leggenda. :-)

-- 
Nicola 'tekNico' Larosa <http://www.tekNico.net/>
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a