Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > RE: <> and !=

Thread Tools

RE: <> and !=

Tim Peters
Posts: n/a
[Don Arnold]
> Out of curiosity, what was the original operator for the equality
> comparison?

'=' was used for both equality comparison and assignment. The ambiguity of
this-- especially at an interactive prompt --soon killed that idea:

>>> a = b

If you look in a current Python source distribution, the script
Demo/scripts/ is still left over from the transition!

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
if and and vs if and,and titi VHDL 4 03-11-2007 05:23 AM