Why do we need ==?

Wojtek Walczak gminick at hacker.pl
Mon Dec 9 11:13:00 EST 2002


Dnia 9 Dec 2002 04:28:03 -0800, M napisał(a):
> Why do Python use the == syntax for comparison?
Since it's known from other languages. Any new-comer can say:
"oh! i know it from ..." and he'll be glad to see some similarities ;]
Anyway == is short, useful and easy to read.

-- 
[ ] gminick (at) underground.org.pl  http://gminick.linuxsecurity.pl/ [ ]
[ "Po prostu lubie poranna samotnosc, bo wtedy kawa smakuje najlepiej." ]



More information about the Python-list mailing list